Commit Graph

56676 Commits

Author SHA1 Message Date
GCC Administrator
c5f7ba9ee7 Daily bump.
From-SVN: r78284
2004-02-23 00:16:11 +00:00
Jakub Jelinek
c2cd64b5a9 gcov-io.c (gcov_open): Use open + fdopen instead of fopen.
* gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
	fopen.
	* libgcov.c: Include sys/stat.h.
	* config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
	* config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
	* config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
	* config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.

From-SVN: r78281
2004-02-23 00:18:53 +01:00
Kazu Hirata
fcfcb20e67 * reorg.c: Remove comments about dead ports.
From-SVN: r78280
2004-02-22 22:33:12 +00:00
Christopher Faylor
56d03a4010 config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify extra host object file when...
* config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify extra
host object file when targetting cygwin rather than generic object files.

From-SVN: r78278
2004-02-22 21:50:52 +00:00
Josef Zlomek
5e20bdd729 backport: tree-inline.c (insert_decl_map): New.
Merge from tree-ssa:
	2003-11-20  Richard Henderson  <rth@redhat.com>

		* tree-inline.c (insert_decl_map): New.
		(remap_decl, remap_type, remap_block, copy_body_r,
		initialize_inlined_parameters, declare_return_variable,
		remap_save_expr): Use it.

	* function.c (copy_body_r): Add mapping from id->ret_label to
	id->ret_label.  Revert test for ret_label.

From-SVN: r78271
2004-02-22 18:48:42 +00:00
Jakub Jelinek
4112be4ad3 genoutput.c (process_template): Strip trailing whitespace in @ templates and issue a warning if there was any.
* genoutput.c (process_template): Strip trailing whitespace in @
	templates and issue a warning if there was any.

From-SVN: r78270
2004-02-22 19:39:06 +01:00
Paolo Carlini
20da06efdc locale_facets.tcc (money_put<>::_M_insert): Restructure formatting of value component...
2004-02-22  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (money_put<>::_M_insert):
	Restructure formatting of value component, first dealing with
	the non-decimal digits; use reserve.

2004-02-22  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.h (class money_get): Inherit
	from money_base too; tweak declaration of _M_extract, now
	parameterized on _Intl too.
	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Update definition to use the cache; call reserve on __res to
	avoid multiple reallocations; fix parsing of sign component
	according to 22.2.6.1.2, p3.
	(money_get<>::do_get(long double&),
	money_get<>::do_get(string_type&)): Update calls of _M_extract.
	* src/locale-inst.cc:  Add instantiations of
	money_get::_M_extract<false> and money_get::_M_extract<true>.
	* testsuite/22_locale/money_get/get/char/14.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.

From-SVN: r78253
2004-02-22 11:13:27 +00:00
GCC Administrator
5904e65f29 Daily bump.
From-SVN: r78246
2004-02-22 00:16:13 +00:00
Christopher Faylor
3a6efa98a5 fix date
From-SVN: r78242
2004-02-22 00:05:40 +00:00
Christopher Faylor
dc4a2f323a config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host object file when targetting cygwin.
* config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host object
file when targetting cygwin.
* config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
overridden by top-level Makefile.

From-SVN: r78241
2004-02-22 00:04:38 +00:00
Mark Mitchell
afc3bb58d5 * libsupc++/vterminate.cc
(__gnu_cxx::__verbose_terminate_handler): Guard against recursive
	calls to terminate.
	* src/demangle.cc (__cxa_demangle): Wrap in try-catch block.

From-SVN: r78235
2004-02-21 20:59:26 +00:00
Mark Mitchell
e1efc7a028 testsuite_hooks.cc (__gnu_test::set_memory_limits): Do not set RLIMIT_AS on HP-UX.
* testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
	not set RLIMIT_AS on HP-UX.

From-SVN: r78233
2004-02-21 20:34:38 +00:00
Roger Sayle
22cc69c4c0 i386.c (standard_80387_constant_p): Also prefer the x87's load constant instructions when optimizing for size.
* config/i386/i386.c (standard_80387_constant_p): Also prefer
	the x87's load constant instructions when optimizing for size.

From-SVN: r78231
2004-02-21 18:48:19 +00:00
Kazu Hirata
bee07d3f4f combine.c (SHIFT_COUNT_TRUNCATED): Remove.
* combine.c (SHIFT_COUNT_TRUNCATED): Remove.
	* defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
	* expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
	* fold-const.c: Likewise.
	* simplify-rtx.c: Likewise.

From-SVN: r78230
2004-02-21 18:41:48 +00:00
Alan Modra
da6fdad3bb combine.c (can_combine_p): Don't ignore SETs marked with REG_EH_REGION notes.
* combine.c (can_combine_p): Don't ignore SETs marked with
	REG_EH_REGION notes.
	(try_combine): When attemting to fix unrecognized insns, don't
	split a PARALLEL that contains the original i2.

From-SVN: r78220
2004-02-21 23:33:40 +10:30
Paolo Carlini
fe932e504b locale_facets.h (class money_base): Add { _S_minus, _S_zero, _S_end } enum, _S_atoms.
2004-02-21  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.h (class money_base): Add { _S_minus,
	_S_zero, _S_end } enum, _S_atoms.
	(struct __moneypunct_cache<>): Parameterize on _Intl too; add
	_M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
	_M_negative_sign_size, _M_atoms; tweak constructor consistently.
	(__moneypunct_cache<>::~__moneypunct_cache): Update.
	(__moneypunct_cache<>::_M_cache): Fill the cache.
	(class moneypunct): Tweak __cache_type typedef.
	(class money_put): Inherit from money_base too; tweak declaration
	of _M_insert, now parameterized on _Intl.
	* include/bits/locale_facets.tcc
	(struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
	(money_put<>::_M_insert): Update definition to use the cache;
	call reserve on __res to avoid multiple reallocations.
	(money_put<>::do_put(long double),
	money_put<>::do_put(const string_type&): Update calls of _M_insert.
	* config/locale/generic/monetary_members.cc
	(moneypunct<char, true>::_M_initialize_moneypunct,
	moneypunct<char, false>::_M_initialize_moneypunct,
	moneypunct<wchar_t, true>::_M_initialize_moneypunct,
	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
	* config/locale/gnu/monetary_members.cc: Likewise.
	* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t, true>::~moneypunct(),
	moneypunct<wchar_t, false>::~moneypunct()): Likewise.
	* src/globals_locale.cc: Tweak fake_money_cache_c.
	* src/locale-inst.cc: Add instantiations for
	money_put::_M_insert<false> and money_put::_M_insert<true> and
	__moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
	* src/locale_facets.cc: Define money_base::_S_atoms.
	* src/locale_init.cc: Update placement new of
	__moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
	__moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.

	* config/locale/generic/numeric_members.cc: Clean up.
	* config/locale/gnu/numeric_members.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.

From-SVN: r78216
2004-02-21 09:26:35 +00:00
Ziemowit Laski
8bb418a3d5 darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options.
[gcc/ChangeLog]
2004-02-21  Ziemowit Laski  <zlaski@apple.com>

        * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to
        SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options.
        * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it.
        * config/rs6000/altivec.h: #error out if '-maltivec' not specified.
        (vector, pixel, bool): #define to __vector, __pixel and __bool.
        (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific
        portion of header.
        (__altivec_link_error_invalid_argument): Remove prototype; will use
        __builtin_altivec_compiletime_error("vec_*") instead.
        (vec_*): Fix/complete set of available operation overloads given the
        existence of distinct 'vector bool ...' and 'vector pixel' types; tighten
        cv-correctness of pointer arguments; in C, always check for correct
        argument types before macro expansion.
        * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro
        defining Darwin/PowerPC-specific '-f[no-]altivec' and
        '-W[no-]altivec-long-deprecated' switches.
        * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define
        '__vector', '__pixel' and '__bool' macros using
        '__attribute__((altivec(...)))' types.
        * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node,
        bool_int_type_node, pixel_type_node, bool_V16QI_type_node,
        bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node):
        New type nodes.
        (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for
        handling '-W[no-]altivec-long-deprecated'.
        (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'.
        (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin,
        altivec_expand_dst_builtin): Remove casts from integer literals.
        (altivec_expand_builtin): Likewise; handle expansion of new
        '__builtin_altivec_compiletime_error' function.
        (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel'
        types, and make them distinct from other vector types; register
        '__builtin_altivec_compiletime_error' function.
        (print_operand): For 'P', print a full target register name instead of
        merely its number.
        (rs6000_attribute_table): Add "altivec" attribute.
        (rs6000_handle_altivec_attribute): New function.
        * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe
        '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated'
        maps to).
        (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward
        declare.
        (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration.

[gcc/testsuite/ChangeLog]
2004-02-21  Ziemowit Laski  <zlaski@apple.com>

        * g++.dg/ext/altivec-1.C: Generalize target triple.
        * g++.dg/ext/altivec-2.C: New test case.
        * g++.dg/ext/altivec_check.h: New file.
        * gcc.dg/altivec-1.c: Generalize target triple;
        include altivec_check.h and call altivec_check().
        * gcc.dg/altivec-[2-5].c: Generalize target triple.
        * gcc.dg/altivec-6.c: New test case.
        * gcc.dg/altivec-[7-9].c: Generalize target triple; add
        type casts as needed.
        * gcc.dg/altivec-10.c: Include altivec_check.h and call
        altivec_check().
        * gcc.dg/altivec-12.c: New test case.
        * gcc.dg/altivec-varargs-1.c: Generalize target triple;
        include altivec_check.h and call altivec_check().
        * gcc.dg/altivec_check.h: New file.

From-SVN: r78215
2004-02-21 09:08:37 +00:00
James E Wilson
06a419ffdb Combine 2 redundant splitters into one.
* config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
check.
(shift_mix4left+2): Delete redundant pattern.

From-SVN: r78213
2004-02-21 00:22:34 -08:00
Kaveh R. Ghazi
54a478708e target-supports.exp (check_alias_available): Don't mangle function `g' in test program.
* lib/target-supports.exp (check_alias_available): Don't mangle
	function `g' in test program.

From-SVN: r78208
2004-02-21 03:02:32 +00:00
Kaveh R. Ghazi
0d856ba2d2 target-supports.exp (check_profiling_available): Check argument to determine whether we support a profiling type.
* lib/target-supports.exp (check_profiling_available): Check
	argument to determine whether we support a profiling type.
	* lib/gcc-dg.exp (dg-require-profiling): Pass argument to
	check_profiling_available.
	* g++.dg/bprob/bprob.exp: Likewise
	* g77.dg/bprob/bprob.exp: Likewise.
	* gcc.misc-tests/bprob.exp: Likewise.
	* g++.old-deja/g++.law/profile1.C: Pass profiling type to
	dg-require-profiling and delete expected error handling.
	* gcc.dg/20021014-1.c: Likewise.
	* gcc.dg/nest.c: Likewise.

From-SVN: r78206
2004-02-21 02:58:24 +00:00
Kazu Hirata
d220de0ed2 alias.c (OUTGOING_REGNO): Don't define the default.
* alias.c (OUTGOING_REGNO): Don't define the default.
	* builtins.c (OUTGOING_REGNO): Likewise.
	(INCOMING_REGNO): Likewise.
	(apply_args_register_offset): Always use OUTGOING_REGNO.
	* combine.c (OUTGOING_REGNO): Likewise.
	* sibcall.c (OUTGOING_REGNO): Likewise.
	* defaults.h (INCOMING_REGNO): Provide the default.
	(OUTGOING_REGNO): Likewise.

From-SVN: r78203
2004-02-21 00:39:05 +00:00
Jan Hubicka
701ad47e98 params.def (max-peeled-insns, [...]): Set to 400.
* params.def (max-peeled-insns, max-completely-peeled-insns,
	max-once-peeled-insns): Set to 400.

From-SVN: r78201
2004-02-21 00:34:46 +00:00
GCC Administrator
5a0df46884 Daily bump.
From-SVN: r78198
2004-02-21 00:16:16 +00:00
Mark Mitchell
f196bdc447 9533-1.cc: Open FIFO for writing with ios_base::in|ios_base::out.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
	FIFO for writing with ios_base::in|ios_base::out.
	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
	* testsuite/27_io/objects/char/7.cc: Likewise.
	* testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
	with "r+".

From-SVN: r78195
2004-02-20 23:51:07 +00:00
John David Anglin
ecd116948f re PR c++/12007 (Multiple inheritance float pass by value fails)
PR c++/12007
	* g++.dg/other/vthunk1.C: New test.

From-SVN: r78193
2004-02-20 23:10:33 +00:00
John David Anglin
7a3e01c408 re PR c++/12007 (Multiple inheritance float pass by value fails)
PR c++/12007
	* dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL
	are set for parameters before outputing debugging information.
	* cp/method.c (use_thunk): Always clone function argument tree.

From-SVN: r78192
2004-02-20 23:03:41 +00:00
Jason Merrill
0fed9ec7f3 tweak
From-SVN: r78191
2004-02-20 17:55:14 -05:00
Falk Hueffner
f4d9988bb3 re PR target/14201 (float -> int (in mem) with -mieee causes unrecognizable insn+segv)
PR target/14201
	* config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand
	numbers.
	* gcc.c-torture/compile/fix-trunc-mem-1.c: New test.

From-SVN: r78188
2004-02-20 23:13:16 +01:00
Per Bothner
2ae5c78565 input.h: Don't #include line-map.h.
* input.h:  Don't #include line-map.h.  It may cause link problems
	with undefined linemap_line_start when line-map.h is included but
	line-map.o is not linked, as currently happens with gengtype on
	compilers that don't support inline.
	* toplev.c:  So we do have to explicitly #include line-map.h here.

From-SVN: r78185
2004-02-20 12:02:27 -08:00
Richard Henderson
7c4d376d4f * doc/invoke.texi: Add -Wvariadic-macros.
From-SVN: r78179
2004-02-20 10:42:51 -08:00
Michael Koch
821b56cbd6 Handler.java (): Removed unneeded check for file != null.
2004-02-20  Michael Koch  <konqueror@gmx.de>

	* gnu/java/net/protocol/jar/Handler.java
	(): Removed unneeded check for file != null. java.net.URL.getFile()
	returns an empty string but never null.

From-SVN: r78176
2004-02-20 17:19:03 +00:00
Andrew Pinski
bad9373568 MAINTAINERS: Add Nicola Pero and myself as libobjc maintainers.
2004-02-20  Andrew Pinski  <pinskia@physics.uc.edu>

        * MAINTAINERS: Add Nicola Pero and myself as libobjc
        maintainers.

From-SVN: r78175
2004-02-20 09:18:22 -08:00
Michael Koch
c6a6237687 2004-02-20 Michael Koch <konqueror@gmx.de>
* gnu/gcj/convert/Convert.java
	(main): Use equals() to compare strings.

From-SVN: r78174
2004-02-20 17:02:35 +00:00
Kazu Hirata
b6c6a23a09 haifa-sched.c (sched_emit_insn): Remove.
* haifa-sched.c (sched_emit_insn): Remove.
	* sched-int.h: Remove the corresponding prototype.

From-SVN: r78173
2004-02-20 16:55:30 +00:00
Kazu Hirata
2c5988607f haifa-sched.c (sched_emit_insn): Remove.
* haifa-sched.c (sched_emit_insn): Remove.
	* sched-int.h: Remove the corresponding prototype.

From-SVN: r78172
2004-02-20 16:21:25 +00:00
Andrew Cagney
a7ca14fcc2 Index: ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

	* config.guess: Update from version 2003-10-16 to 2004-02-16.
	* config.sub: Update from version 2003-11-03 to 2004-02-16.

Index: boehm-gc/ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

	* config.guess: Update from version 2002-01-10 to 2004-02-16.
	* config.sub: Update from version 2002-01-02 to 2004-02-16.

Index: libjava/libltdl/ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

	* config.guess: Update from version 2003-10-07 to 2004-02-16.
	* config.sub: Update from version 2003-10-07 to 2004-02-16.

From-SVN: r78171
2004-02-20 16:15:55 +00:00
Michael Koch
9803e3d888 AbstractButton.java: Made several constants final.
2004-02-20  Michael Koch  <konqueror@gmx.de>

	* javax/swing/AbstractButton.java: Made several constants final.
	(getRolloverSelectedIcon): Made public.
	(getSelectedIcon): Made public.

From-SVN: r78169
2004-02-20 15:19:25 +00:00
Kazu Hirata
35afa56945 revert: opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
Revert:
	2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
	* opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
	* system.h (DEFAULT_SHORT_ENUMS): Poison.
	* config/cris/cris.h: Remove a comment about
	DEFAULT_SHORT_ENUMS.
	* config/ip2k/ip2k.h: Likewise.
	* doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.

From-SVN: r78168
2004-02-20 14:28:13 +00:00
Mohan Embar
c1c3bb0cbd install.texi: Moved --disable-libgcj and --with-system-zlib documentation to new section for...
* doc/install.texi: Moved --disable-libgcj and
	--with-system-zlib documentation to new section for
	Java-specific options.
	Added explicit Cross-Compiler-Specific Options subheading.
	Added section for Java-specific options.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r78166
2004-02-20 12:55:00 +00:00
Arnaud Charlet
6e059adb24 [multiple changes]
2004-02-20  Robert Dewar  <dewar@gnat.com>

	* bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting

2004-02-20  Ed Schonberg  <schonberg@gnat.com>

	* freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
	itype references for the constrained designated type of a component
	whose base type is already frozen.

2004-02-20  Arnaud Charlet  <charlet@act-europe.fr>

	* init.c (__gnat_error_handler [tru64]): Rewrite previous change to
	avoid GCC warnings.

2004-02-20  Sergey Rybin  <rybin@act-europe.fr>

	* sem_ch12.adb (Analyze_Formal_Package): Create a new defining
	identifier for a phantom package that rewrites the formal package
	declaration with a box. The Add semantic decorations for the defining
	identifier from the original node (that represents the formal package).

From-SVN: r78164
2004-02-20 12:55:27 +01:00
Matt Kraai
d80d3d9622 move-if-change: Remove.
* move-if-change: Remove.
	* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
	(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
	(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
	(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
	(s-gtyp-gen, s-iov): Use the top level move-if-change.
	* objc/Make-lang.in (objc/objc-parse.y): Likewise.

From-SVN: r78163
2004-02-20 09:13:39 +00:00
Matt Kraai
ee09531012 install.texi (Building the Ada compiler): Remove example.
* doc/install.texi (Building the Ada compiler): Remove
        example.

From-SVN: r78162
2004-02-20 09:11:50 +00:00
Mark Mitchell
c0694c4b78 re PR c++/14199 (Unjustified warning about unused variable)
PR c++/14199
	* pt.c (tsubst_copy): Call mark_used for a PARM_DECL.

	PR c++/14173
	* semantics.c (begin_class_definition): Set TYPE_PACKED correctly
	for all type variants.

	PR c++/14173
	* g++.dg/ext/packed5.C: New test.

	PR c++/14199
	* g++.dg/warn/Wunused-5.C: New test.

	PR c++/13927
	* decl.c (duplicate_decls): Return error_mark_node for invalid
	redeclarations.
	* name-lookup.c (push_namespace): Ignore the return value from
	pushdecl.
	* pt.c (push_template_decl_real): Robustify.

	PR c++/13927
	* g++.dg/other/error8.C: Remove XFAIL markers.

From-SVN: r78159
2004-02-20 08:57:33 +00:00
James E Wilson
15316a6f76 Fix ce3/rnreg dump file ordering problem.
* toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.

From-SVN: r78157
2004-02-20 00:38:24 -08:00
Richard Henderson
01238dbe2e * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
From-SVN: r78155
2004-02-20 00:08:57 -08:00
Kazu Hirata
9f76f909c9 gcc.c (process_command): Allow translation of the copyright symbol but not the rest of the copyright message.
gcc/
	* gcc.c (process_command): Allow translation of the copyright
	symbol but not the rest of the copyright message.
	* gcov.c (print_version): Likewise.  Allow translation of the
	message about warranty.

gcc/f/
	* Make-lang.in (g77spec.o): Depend on intl.h.
	* g77spec.c: Include intl.h.
	(lang_specific_driver): Allow translation of the copyright
	symbol but not the rest of the copyright message.  Allow
	translation of the message about warranty.

From-SVN: r78152
2004-02-20 06:46:42 +00:00
Mark Mitchell
a6567a0faa re PR c++/14186 (enum in base class conflicts with derived class)
PR c++/14186
	* name-lookup.c (push_class_level_binding): Do not complain about
	adding a binding for a member whose name is the same as the
	enclosing class if the member is located in a base class of the
	current class.

	PR c++/14186
	* g++.dg/lookup/member1.C: New test.

From-SVN: r78149
2004-02-20 06:43:08 +00:00
Kazu Hirata
f819a6a516 20040130-1.c: Enable only when __INT_MAX__ >= 2147483647L.
* gcc.c-torture/compile/20040130-1.c: Enable only when
	__INT_MAX__ >= 2147483647L.
	* gcc.c-torture/compile/961203-1.c: Likewise.

From-SVN: r78148
2004-02-20 06:36:33 +00:00
Hans-Peter Nilsson
f38a62ffc5 cris.md ("*andsi_movu"): Correct parentheses in predicate.
* config/cris/cris.md ("*andsi_movu"): Correct parentheses in
	predicate.
	("*andsi_clear"): Tweak constraints to not match postincrement.
	Adjust the predicate to exclude a volatile memory reference.
	("*andhi_clear"): Ditto.  Rename from "*andhi_clear_signed".
	("*andhi_clear_unsigned"): Remove, non-matching pattern.

From-SVN: r78147
2004-02-20 04:53:16 +00:00
Matt Kraai
88e3a2a398 move-if-change: Remove.
* move-if-change: Remove.
	* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
	(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
	(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
	(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
	(s-gtyp-gen, s-iov): Use the top level move-if-change.
	* objc/Make-lang.in (objc/objc-parse.y): Likewise.

(gcc/ada/ChangeLog)

	* Make-lang.in (ada/stamp-sdefault): Use the top level
	move-if-change.

(gcc/f/ChangeLog)

	* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
	(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
	level move-if-change.

From-SVN: r78146
2004-02-20 04:19:33 +00:00