Commit Graph

49874 Commits

Author SHA1 Message Date
Nathan Sidwell
c2e3960284 Make-lang.in (treelang/tree1.o): Depends on input.h
treelang:
	* Make-lang.in (treelang/tree1.o): Depends on input.h
	(treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
	* treelang.h: #include input.h.
	(in_fname): Remove.
	(struct token_part): Remove lineno, add location.
	* lex.l (next_tree_lineno): Remove.
	(update_lineno_charno): Adjust.
	(dump_lex_value): Adjust.
	* parse.y (variable_def, function_prototype, function, statement,
	if_statement, return, function_invocation, variable_ref): Adjust.
	(print_token, yyerror, ensure_not_void): Adjust.
	tree1.c (in_fname): Remove.
	(treelang_init): Setup input_location.
	(lookup_tree_name): Adjust.
	(insert_tree_name): Adjust.
	* treetree.c (tree_code_if_start): Replace filename and lineno
	parms with loc. Adjust.
	(tree_code_if_else, tree_code_if_end,
	tree_code_create_function_prototype,
	tree_code_create_function_initial,
	tree_code_create_function_wrapup, tree_code_create_variable,
	tree_code_output_expression_statement): Likewise.
	* treetree.h (tree_code_if_start): Replace filename and lineno
	parms with loc.
	(tree_code_if_else, tree_code_if_end,
	tree_code_create_function_prototype,
	tree_code_create_function_initial,
	tree_code_create_function_wrapup, tree_code_create_variable,
	tree_code_output_expression_statement): Likewise.

From-SVN: r66519
2003-05-06 09:18:46 +00:00
Richard Sandiford
e8b84d3d39 mips-protos.h (mips_simplify_dwarf_addr): Remove.
* config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
	(mips_delegitimize_address): Declare.
	* config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine.
	(FIND_BASE_TERM): Define.
	* config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
	(mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr.
	Handle small-data addresses.

From-SVN: r66518
2003-05-06 07:06:11 +00:00
Richard Sandiford
92d568f2ca * configure.target (mips*): Use the generic atomicity.h by default.
From-SVN: r66517
2003-05-06 07:01:25 +00:00
Roger Sayle
e82a312b55 real.c (real_powi): New function to calculate the value of a real raised to an integer power, i.e.
* real.c (real_powi): New function to calculate the value of
	a real raised to an integer power, i.e. pow(x,n) for int n.
	(real_sqrt): Convert to using the faster do_add, do_multiply
	and do_divide API for consistency with the rest of real.c.
	* real.h (real_powi): Prototype here.
	* builtins.c (fold_builtin):  Avoid local variable mode when
	evaluating sqrt at compile time.  Attempt to evaluate pow at
	compile-time, by checking for an integral exponent.

	* gcc.dg/builtins-14.c: New test case.

From-SVN: r66515
2003-05-06 03:14:10 +00:00
GCC Administrator
d7b4a59027 Daily bump.
From-SVN: r66512
2003-05-06 00:16:08 +00:00
Richard Henderson
905e865147 * doc/extend.texi (Variable Attributes): Re-sort table and tidy.
From-SVN: r66510
2003-05-05 16:12:37 -07:00
Janis Johnson
e8115463c6 struct-by-value-1_main.c: New test file.
2003-05-05  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/compat/struct-by-value-1_main.c: New test file.
	* gcc.dg/compat/struct-by-value-1_x.c: New test file.
	* gcc.dg/compat/struct-by-value-1_y.c: New test file.
	* gcc.dg/compat/struct-by-value-2_main.c: New test file.
	* gcc.dg/compat/struct-by-value-2_x.c: New test file.
	* gcc.dg/compat/struct-by-value-2_y.c: New test file.
	* gcc.dg/compat/struct-by-value-3_main.c: New test file.
	* gcc.dg/compat/struct-by-value-3_x.c: New test file.
	* gcc.dg/compat/struct-by-value-3_y.c: New test file.
	* gcc.dg/compat/struct-by-value-4_main.c: New test file.
	* gcc.dg/compat/struct-by-value-4_x.c: New test file.
	* gcc.dg/compat/struct-by-value-4_y.c: New test file.
	* gcc.dg/compat/struct-by-value-5_main.c: New test file.
	* gcc.dg/compat/struct-by-value-5_x.c: New test file.
	* gcc.dg/compat/struct-by-value-5_y.c: New test file.

From-SVN: r66509
2003-05-05 23:09:47 +00:00
David O'Brien
8846710195 sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror other FreeBSD ports.
2003-05-05  David O'Brien  <obrien@FreeBSD.org>
	* config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
	other FreeBSD ports.
	(LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.

From-SVN: r66508
2003-05-05 22:57:58 +00:00
Loren J. Rittle
1976f0d995 stl_threads.h (_Atomic_swap): Kill it...
* include/bits/stl_threads.h (_Atomic_swap): Kill it...
	(_Swap_lock_struct<>): ...and the horse it rode in on.
	* src/globals.cc (_Swap_lock_struct<>): Likewise.
	* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
	member to support...
	* include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
	visibility rules related to POSIX threads.
	* testsuite/thread/pthread7-rope.cc: New test.

From-SVN: r66507
2003-05-05 22:28:16 +00:00
Janis Johnson
6ccfe27ca7 Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around expanded variables.
2003-05-05  Janis Johnson  <janis187@us.ibm.com>

	* Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
	expanded variables.
	* doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
testsuite:
	* lib/compat.exp (compat-execute): New argument.
	* g++.dg/compat/compat.exp: Pass new argument to compat-execute.
	* gcc.dg/compat: New test directory.
	* gcc.dg/compat/compat.exp: New expect script.
	* gcc.dg/compat/scalar-by-value-1_main.c: New test file.
	* gcc.dg/compat/scalar-by-value-1_x.c: New test file.
	* gcc.dg/compat/scalar-by-value-1_y.c: New test file.
	* gcc.dg/compat/scalar-by-value-2_main.c: New test file.
	* gcc.dg/compat/scalar-by-value-2_x.c: New test file.
	* gcc.dg/compat/scalar-by-value-2_y.c: New test file.

From-SVN: r66506
2003-05-05 21:59:35 +00:00
Zack Weinberg
10b6a27401 rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
* rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
	* varasm.c (struct varasm_status): Add deferred_constants field.
	(n_deferred_strings): Delete variable.
	(n_deferred_constants): New #define.
	(struct constant_descriptor_tree): Kill next and label fields.
	(const_hash_table, MAX_HASH_TABLE): Delete.
	(const_desc_htab): New static variable.
	(const_hash): Rename const_desc_hash, and make it fit the
	hashtab.h interface.
	(const_desc_eq): New.
	(const_hash_1, compare_constant): Const-ify arguments.
	(build_constant_desc): Set DEFERRED_CONSTANT_P on all new
	SYMBOL_REFs.  Clarify comments.  Don't set desc->label.
	(output_constant_def): Do the lookup/insert using the
	hashtab.h interface.  Don't muck with n_deferred_constants or
	DEFERRED_CONSTANT_P here.
	Always call maybe_output_constant_def_contents.
	(maybe_output_constant_def_contents): Take a pointer to the
	descriptor, not the EXP and RTL separately.  Return
	immediately if this constant is not deferred.  Defer output of
	everything, except writable string constants.  Update
	n_deferred_constants here.
	(output_constant_def_contents): Now takes just one argument,
	an rtx.  Clear DEFERRED_CONSTANT_P here.
	(mark_constant_pool): Update for rename of n_deferred_strings.
	(mark_constant): Don't clear DEFERRED_CONSTANT_P here.

	(init_varasm_status): Clear p->deferred_constants.
	(init_varasm_once): Call htab_create_ggc for const_desc_htab.

	* gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases.

From-SVN: r66505
2003-05-05 21:57:54 +00:00
Kaveh R. Ghazi
68ef8841db builtins.c (expand_builtin_stpcpy): Only expand when the length of the source string can be evaluated at compile-time.
* builtins.c (expand_builtin_stpcpy): Only expand when the length
	of the source string can be evaluated at compile-time.

From-SVN: r66503
2003-05-05 21:14:46 +00:00
Jason Merrill
5f7262e693 re PR c++/9537 ([New parser] problem handling const return types)
PR c++/9537
        * call.c (conditional_conversion): Build an RVALUE_CONV if
        we're just changing the cv-quals.
        (build_conditional_expr): Don't call convert to change
        cv-quals.

From-SVN: r66502
2003-05-05 17:11:13 -04:00
Aldy Hernandez
9938b5d971 simd-6.c: New.
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/compile/simd-6.c: New.

        * c-typeck.c (digest_init): Handle arrays of vector constants.

From-SVN: r66501
2003-05-05 20:31:45 +00:00
Michael Koch
e5f3cd6b64 2003-05-05 Michael Koch <konqueror@gmx.de>
* java/net/NetworkInterface.java
	(networkInterfaces): Removed.
	(getByName): Use getRealNetworkInterfaces() instead of
	networkInterfaces.
	(getByInetAddress): Likewise.
	(getNetworkInterfaces): Likewise.
	(toString): Fix output of addresses of an interface.

From-SVN: r66500
2003-05-05 20:18:31 +00:00
Geoffrey Keating
bc9ec0e06b rs6000.c (validate_condition_mode): Use flag_finite_math_only.
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

	* config/rs6000/rs6000.c (validate_condition_mode): Use
	flag_finite_math_only.
	(rs6000_reverse_condition): Never return UNKNOWN; use
	flag_finite_math_only.
	(rs6000_generate_compare): Use flag_finite_math_only.
	(rs6000_emit_cmove): Handle UNLE.  Support UNEQ under -ffast-math.
	Use HONOR_* rather than flag_unsafe_math_optimizations.  Correct
	UNGE and GT cases.  Handle UNEQ and LTGT when ! HONOR_NANS.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

	* gcc.c-torture/execute/ieee/fp-cmp-8.c: New test.
	* gcc.dg/ppc-fsel-2.c: New test.

From-SVN: r66499
2003-05-05 19:33:52 +00:00
Jakub Jelinek
e3e9f10846 builtins.c (expand_builtin_mempcpy): New function.
* builtins.c (expand_builtin_mempcpy): New function.
	(expand_builtin_stpcpy): Optimize stpcpy whose return value is
	ignored into strcpy no matter what arguments it has.
	(expand_builtin) <case BUILT_IN_MEMPCPY>: Call
	expand_builtin_mempcpy.

	* gcc.c-torture/execute/string-opt-18.c (main): Add 3 new tests.

From-SVN: r66498
2003-05-05 21:31:35 +02:00
Aldy Hernandez
6035d635b5 20030505.c: New.
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030505.c: New.

        * c-typeck.c (convert_for_assignment): Opaque pointers can
        interconvert.

        * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
        (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
        (spe_init_builtins): Rename all pv2si_type_node to
        opaque_p_V2SI_type_node.
        Remove declaration of pv2si_type_node.
        (is_ev64_opaque_type): Accept opaque pointers.

From-SVN: r66495
2003-05-05 19:21:10 +00:00
Jason Merrill
50b97e0f2b tweak comment
From-SVN: r66494
2003-05-05 15:16:07 -04:00
Geoffrey Keating
36b29d7dd1 toplev.c (check_global_declarations): Suppress not-used warning for volatile variables.
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

	* toplev.c (check_global_declarations): Suppress not-used warning
	for volatile variables.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/unused-5.c: New test.

From-SVN: r66493
2003-05-05 18:29:29 +00:00
Olivier Hainque
9e5f281f99 expr.c (expand_expr, [...]): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode...
* expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
        usage of bitfield instructions for mode1 != BLKmode, only ignoring
        SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
        (store_field): Likewise.

From-SVN: r66492
2003-05-05 13:56:35 -04:00
Aldy Hernandez
f5119d10fa rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants.
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
        evsubifw to builtins accepting 5-bit unsigned constants.
        (easy_vector_constant): Return if V1DImode.  Fix typo.

[[Split portion of a mixed commit.]]

From-SVN: r66490.2
2003-05-05 17:40:03 +00:00
Aldy Hernandez
25ecd459a1 spe.h: Revert licensing change from last patch.
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Revert licensing change from last patch.

From-SVN: r66486
2003-05-05 15:50:31 +00:00
DJ Delorie
9be132116f stormy16.md (negsi2): Allocate the pseudos before reload, but defer the split until after.
* config/stormy16/stormy16.md (negsi2): Allocate the pseudos
before reload, but defer the split until after.
* config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
to match.

From-SVN: r66485
2003-05-05 11:25:01 -04:00
Kriang Lerdsuwanakij
517f33152b Fix a typo overlooked in the previous commit.
From-SVN: r66484
2003-05-05 14:46:00 +00:00
Kriang Lerdsuwanakij
16692dd506 re PR c++/10496 ([diagnostic] erroneus suggestion in diagnostic asks the user to write "&const class::memfun" which is illegal)
PR c++/10496
	* typeck.c (build_unary_op): Don't output const qualifier when
	output invalid pointer-to-member diagnostics.

	* g++.dg/warn/pmf1.C: New test.

From-SVN: r66481
2003-05-05 14:35:58 +00:00
David Edelsohn
2c9d95efce rs6000.h (ASM_CPU_SPEC): Add 440 support.
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
        * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.

From-SVN: r66480
2003-05-05 10:33:01 -04:00
Michael Koch
ee63277313 Fixed wrong changelog entry
From-SVN: r66479
2003-05-05 13:37:14 +00:00
Michael Koch
f7529e026f DataInputStream.java: Reordered methods to match libgcj.
2003-05-04  Michael Koch  <konqueror@gmx.de>

	* java/io/DataInputStream.java:
	Reordered methods to match libgcj.

From-SVN: r66478
2003-05-05 13:35:15 +00:00
Kriang Lerdsuwanakij
7df878256c * decl.c: Fix typos.
From-SVN: r66477
2003-05-05 13:26:50 +00:00
Kriang Lerdsuwanakij
4b41d9ebe1 re PR c++/4494 (Possible problem with compiler warnings on main())
PR c++/4494
	* decl.c (start_function): Use same_type_p to check return type
	of main.

	* g++.dg/warn/main.C: New test.

From-SVN: r66476
2003-05-05 12:19:12 +00:00
Zdenek Dvorak
1e77e67301 libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc is defined.
* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
	is defined.

From-SVN: r66475
2003-05-05 05:22:07 +00:00
Michael Koch
bb1d035953 Forgot to add this to commit line on 2003/05/02. Its in Changelog already.
>2003-05-02  Michael Koch  <konqueror@gmx.de>
>
>	* java/net/URI.java
>	(create): Doesnt throws any exceptions.

From-SVN: r66474
2003-05-05 05:10:47 +00:00
GCC Administrator
18ec39dad3 Daily bump.
From-SVN: r66473
2003-05-05 00:16:06 +00:00
Gerald Pfeifer
fe080a9ea1 update_version (textstring_FILES): Only version.c needs to be updated...
* update_version (textstring_FILES): Only version.c needs to be
	updated, now that we do not consider older branches any more.

From-SVN: r66471
2003-05-04 22:51:26 +00:00
Matt Kraai
5174754150 GtkButtonPeer.java: Fix misspelling of "version".
* gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
	"version".
	* gnu/awt/gtk/GtkComponentPeer.java: Likewise.
	* gnu/awt/gtk/GtkContainerPeer.java: Likewise.
	* gnu/awt/gtk/GtkFramePeer.java: Likewise.
	* gnu/awt/gtk/GtkLabelPeer.java: Likewise.
	* gnu/awt/gtk/GtkMainThread.java: Likewise.
	* gnu/awt/gtk/GtkToolkit.java: Likewise.
	* gnu/awt/gtk/GtkWindowPeer.java: Likewise.
	* java/security/Key.java: Likewise.
	* java/security/PrivateKey.java: Likewise.
	* java/security/Provider.java: Likewise.
	* java/security/PublicKey.java: Likewise.

From-SVN: r66469
2003-05-04 22:26:43 +00:00
Kaveh R. Ghazi
003620645c builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
gcc:
	* builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
	ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
	ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.

	(ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
	ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
	ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
	New.

	* builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
	(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment

	(BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
	BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
	BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
	BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
	BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
	BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
	BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
	BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
	BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
	BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
	BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
	BUILT_IN_STRDUP): Add "nonnull" attribute.

testsuite:
	* gcc.dg/nonnull-3.c: New test.

From-SVN: r66468
2003-05-04 22:18:17 +00:00
Kaveh R. Ghazi
05c30f2224 configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
	* configure: Regenerate.

From-SVN: r66467
2003-05-04 22:14:18 +00:00
Paolo Carlini
85819f7c33 3.cc: New file, testing basic_string<char>::find_first_not_of.
2003-05-04  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/21_strings/basic_string/find/char/3.cc: New
	file, testing basic_string<char>::find_first_not_of.
	* testsuite/21_strings/basic_string/find/wchar_t/3.cc:
	Likewise for basic_string<wchar_t>.

From-SVN: r66466
2003-05-04 22:12:18 +00:00
Richard Kenner
c1853da7d3 expr.c (store_field): Don't clobber TEMP in shift: it might be a variable.
* expr.c (store_field): Don't clobber TEMP in shift: it might be
	a variable.
	(get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
	whose purpose is to step up the alignment.
	(expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.

From-SVN: r66465
2003-05-04 18:09:48 -04:00
Neil Booth
41dd7402ad * doc/cppopts.texi: Remove documentation of -gcc.
From-SVN: r66464
2003-05-04 22:06:57 +00:00
Richard Kenner
ad26fb41b4 stor-layout.c (compute_record_mode): Relax restriction on fields crossing word boundaries forcing BLKmode.
* stor-layout.c (compute_record_mode): Relax restriction
	on fields crossing word boundaries forcing BLKmode.

From-SVN: r66463
2003-05-04 18:04:51 -04:00
Neil Booth
1fecc2668c * doc/cppopts.texi: Enhance -Wtrigraphs documentation
From-SVN: r66462
2003-05-04 21:45:08 +00:00
Neil Booth
a8eb6044a9 cppinit.c (cpp_create_reader, [...]): Warn about trigraphs unless explicity set or -trigraphs.
* cppinit.c (cpp_create_reader, post_options): Warn about
	trigraphs unless explicity set or -trigraphs.
	* cpplex.c (warn_in_comment): New.
	(_cpp_process_line_notes): Better handling of -Wtrigraphs.
	(_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
	* doc/cppopts.texi, doc/cpp.texi: Update.
testsuite:
	* gcc.dg/cpp/Wtrigraphs.c: Update.
	* gcc.dg/cpp/Wtrigraphs-2.c: New tests.

From-SVN: r66459
2003-05-04 20:03:55 +00:00
Zdenek Dvorak
09780dfb65 Makefile.in (LIBGCOV): Add _gcov_merge_add.
* Makefile.in (LIBGCOV): Add _gcov_merge_add.
	* gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
	namespace clash.
	(GCOV_MERGE_FUNCTIONS): New.
	(gcov_merge_fn): Declare.
	(struct gcov_ctr_info): New field "merge".
	(__gcov_merge_add): Declare.
	* coverage.c (ctr_merge_functions): New.
	(build_ctr_info_type, build_ctr_info_value): Initialize merge field
	of gcov_ctr_info type.
	* libgcov.c (__gcov_merge_add): New.
	(gcov_exit): Call a hook to merge values of counters.

From-SVN: r66457
2003-05-04 15:20:26 +00:00
Gabriel Dos Reis
c71f2ffd78 toplev.h (pedwarn_with_file_and_line): Don't declare.
* toplev.h (pedwarn_with_file_and_line): Don't declare.
	* diagnostic.c (pedwarn_with_file_and_line): Remove.

From-SVN: r66456
2003-05-04 15:18:21 +00:00
Gabriel Dos Reis
3d8856836f * varasm.c (assemble_variable): Don't use error_with_file_and_line.
From-SVN: r66454
2003-05-04 14:27:17 +00:00
Nathan Sidwell
d4b56320a1 Make-lang.in (java/parse.o, [...]): Depend on input.h.
* Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
	* lex.h: #include input.h.
	* jv-scan.c (input_filename): Remove.

From-SVN: r66452
2003-05-04 14:05:15 +00:00
Gerald Pfeifer
878618337c * MAINTAINERS: Remove duplicate entries in Write After Approval.
From-SVN: r66451
2003-05-04 11:45:20 +00:00
Kaveh R. Ghazi
8c9b38d738 builtins.c (expand_builtin_constant_p, [...]): Update prototypes.
* builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
	expand_builtin_frame_address): Update prototypes.
	(expand_builtin_constant_p, expand_builtin_strlen,
	expand_builtin_strcpy, expand_builtin_memset,
	expand_builtin_bzero, expand_builtin_args_info,
	expand_builtin_frame_address): Pass in just the argument(s)
	needed, not the entire expression `exp'.
	(expand_builtin): Update all calls to these functions.

From-SVN: r66448
2003-05-04 05:34:13 +00:00