Commit Graph

56654 Commits

Author SHA1 Message Date
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
Nathanael Nerode 116daf2195 acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
* acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
	* aclocal.m4: Rebuild.
	* configure: Regenerate.

From-SVN: r78145
2004-02-20 03:35:30 +00:00
Nathanael Nerode b1891e51b8 acinclude.m4: Move certain code to configure.in.
* acinclude.m4: Move certain code to configure.in.
	* configure.in: Receive code from acinclude.m4.
	* aclocal.m4: Rebuild.
	* configure: Regenerate.

From-SVN: r78144
2004-02-20 03:11:01 +00:00
Nathanael Nerode 515927826c re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib)
PR bootstrap/11932
	* mkinstalldirs, install-sh: Import from automake CVS HEAD.

From-SVN: r78143
2004-02-20 02:01:16 +00:00
Nathanael Nerode 089e52f773 * Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
From-SVN: r78142
2004-02-20 01:48:51 +00:00
James E Wilson e0c34369b8 Fix latent problem found by Mostafa Hagog.
* config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
	for operand2.  Add condition that requires register_operand operand2
	before reload.

From-SVN: r78140
2004-02-19 17:20:33 -08:00
GCC Administrator 325b439bbc Daily bump.
From-SVN: r78137
2004-02-20 00:16:10 +00:00
Richard Sandiford 2b5f287ba9 Fix attribution in last delta.
From-SVN: r78132
2004-02-19 23:00:22 +00:00
Richard Sandiford 656f37ee62 mips.c (mips_address_insns): Treat BLKmode specially.
* config/mips/mips.c (mips_address_insns): Treat BLKmode specially.
	* config/mips/mips.md: Expand comment above unaligned loads and stores.

From-SVN: r78129
2004-02-19 22:49:47 +00:00
Richard Henderson 4221057e8f Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
* Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
        * tree.c (build0, build1, build2, build3, build4): Split out from...
        (build): ... here.  Call them.
        * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New.

        * convert.c (convert_to_integer): Remove extra build argument.
        * tree-inline.c (expand_call_inline): Likewise.
ada/
        * misc.c (record_code_position): Add third build arg for RTL_EXPR.
java/
        * parse.y (switch_label): Use make_node for DEFAULT_EXPR.

From-SVN: r78126
2004-02-19 14:39:55 -08:00
Richard Henderson e5b7921933 c-opts.c (warn_variadic_macros): New.
* c-opts.c (warn_variadic_macros): New.
        (c_common_handle_option): Set it.
        (sanitize_cpp_opts): Copy it to cpp_opts.
        * c.opt (Wvariadic-macros): New.
        * cpplib.h (struct cpp_options): Add warn_variadic_macros.
        * cppinit.c (cpp_create_reader): Initialize it.
        * cppmacro.c (parse_params): Check it.

From-SVN: r78125
2004-02-19 14:18:50 -08:00
David Edelsohn 2df93cf3c4 2.cc: Change input-charset from iso-8859-1 to ISO8859-1.
* 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
	from iso-8859-1 to ISO8859-1.
	* 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
	* 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
	* 22_locale/collate/hash/wchar_t/2.cc: Same.
	* 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
	* 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
	* 22_locale/collate/transform/wchar_t/2.cc: Same.
	* 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
	* 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.

From-SVN: r78124
2004-02-19 17:07:55 -05:00
David Daney 18586cb7fc re PR preprocessor/14198 ([3.4.0][MIPS]FAIL: gcc.dg/cpp/assert4.c (test for excess errors))
2004-02-19  David Daney <ddaney@avtrex.com>

	PR preprocessor/14198
	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
	builtin_assert ("machine=mips")

From-SVN: r78123
2004-02-19 22:07:51 +00:00
Kazu Hirata 37a46828a7 opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
* 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: r78122
2004-02-19 21:49:45 +00:00
Zack Weinberg f9c887ac06 ia64.c (ia64_function_arg): In big-endian mode...
* config/ia64/ia64.c (ia64_function_arg): In big-endian mode,
	when passing single SFmode quantities in general registers,
	put them in the high half.

From-SVN: r78119
2004-02-19 21:39:52 +00:00
Aldy Hernandez 0e1d7f3250 md.texi (Standard Names): Document additional dependency on fix pattern.
2004-02-19  Aldy Hernandez  <aldyh@redhat.com>

        * doc/md.texi (Standard Names): Document additional dependency on
        fix pattern.

        * optabs.c (ftruncify): Remove.
        (expand_fix): Manually inline ftruncify above.
        (can_fix_p): Add FIXME note.

From-SVN: r78116
2004-02-19 18:50:57 +00:00
Aldy Hernandez c6e9f0ebd9 spe.md (spe_fixunssfsi2): Rename to spe_fixuns_truncsfsi2.
* config/rs6000/spe.md (spe_fixunssfsi2): Rename to
        spe_fixuns_truncsfsi2.

        * config/rs6000/rs6000.md (fixunssfsi2): Rename to
        fixuns_truncsfsi2.

From-SVN: r78114
2004-02-19 18:40:24 +00:00
Steve Ellcey 919b531db1 ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
* config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
	* testsuite/gcc.dg/20040219-1.c: New test.

From-SVN: r78113
2004-02-19 18:03:45 +00:00
Ulrich Weigand 4dbb59702c s390.md ("*subdf3_cc", [...]): Subtraction is not commutative.
* config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc",
	"*subsf3_cconly"): Subtraction is not commutative.

From-SVN: r78110
2004-02-19 17:36:45 +00:00
Zack Weinberg 16edbbf082 sdbout.c (preinit_symbols, [...]): New statics.
* sdbout.c (preinit_symbols, sdbout_initialized): New statics.
	(sdbout_symbol): If called before sdbout_init, queue DECL for
	later and return.
	(sdbout_init): Set sdbout_initialized true, process decls
	queued earlier by sdbout_symbol.
	(sdbout_finish): Use size_t for index variable.

From-SVN: r78109
2004-02-19 17:21:14 +00:00
Jeff Law f46e5baad6 fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered comparison codes.
* fold-const.c (invert_truthvalue): Do not call invert_tree_comparison
        for unordered comparison codes.

From-SVN: r78103
2004-02-19 09:57:52 -07:00
Joseph Myers 117def1303 * fr.po: Update.
From-SVN: r78101
2004-02-19 16:54:24 +00:00
Ian Lance Taylor d754127f13 reload1.c (reload): Correct comment.
* reload1.c (reload): Correct comment.
	(scan_paradoxical_subregs): Remove #if 0 and old comment.
	* doc/extend.texi (Local Reg Vars): Remove obsolete comment that
	register variables are not used by reload.

From-SVN: r78100
2004-02-19 15:24:02 +00:00