Commit Graph

56641 Commits

Author SHA1 Message Date
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
Nathan Sidwell 78cb77c13e attr-ctor1.C: XFAIL on hppa.
* g++.dg/parse/attr-ctor1.C: XFAIL on hppa.
	* g++.dg/opt/template1.C: Robustify assembler regexp

From-SVN: r78097
2004-02-19 12:46:49 +00:00
Hans-Peter Nilsson 428eae942c re PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)
PR target/14209
	* config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
	constraints to not match postincrement.  Adjust the predicate to
	exclude a volatile memory reference.

From-SVN: r78095
2004-02-19 11:28:00 +00:00
Kazu Hirata a5ee8d8003 * config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
From-SVN: r78094
2004-02-19 11:14:12 +00:00
Kazu Hirata 45ea6431a0 hooks.c (hook_void_tree_int): Remove.
* hooks.c (hook_void_tree_int): Remove.
	(hook_void_constcharptr): Likewise.
	(hook_int_void_0): Likewise.
	* hooks.h: Remove the prototypes for the above three
	functions.
	* targhooks.c (hook_bool_machine_mode_true): Remove.
	* targhooks.h: Remove the prototype for
	hook_bool_machine_mode_true.

From-SVN: r78093
2004-02-19 11:06:26 +00:00
Kazu Hirata c59102b4ae emit-rtl.c (subreg_realpart_p): Remove.
* emit-rtl.c (subreg_realpart_p): Remove.
	(reorder_insns_with_line_notes): Likewise.
	(end_full_sequence): Likewise.
	* rtl.h: Remove the prototype for the above functions.

From-SVN: r78092
2004-02-19 10:59:44 +00:00
Kazu Hirata 3ad17f7bb5 arc.h, [...]: Remove commented-out or useless definitions of CASE_VECTOR_PC_RELATIVE.
* config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
	config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
	config/iq2000/iq2000.h, config/m32r/m32r.h,
	config/pdp11/pdp11.h, config/sparc/sparc.h,
	config/xtensa/xtensa.h: Remove commented-out or useless
	definitions of CASE_VECTOR_PC_RELATIVE.

From-SVN: r78091
2004-02-19 10:57:02 +00:00
Kazu Hirata a3b182a787 * loop.c (all_sets_invariant_p): Remove.
From-SVN: r78090
2004-02-19 10:53:13 +00:00
Eric Botcazou ca6b7cecf6 simd-4.x: Remove.
* gcc.c-torture/execute/simd-4.x: Remove.
	* gcc.c-torture/execute/va-arg-25.x: Likewise.
	* gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC.
	Guard with #ifndef SKIP_ATTRIBUTE.
	* gcc.dg/compat/vector-1_y.c: Likewise.
	* gcc.dg/compat/vector-2_x.c: Likewise.
	* gcc.dg/compat/vector-2_y.c: Likewise.
	* g++.dg/eh/simd-1.C: Do not XFAIL on SPARC.
	* g++.dg/eh/simd-2.C: Likewise.

From-SVN: r78089
2004-02-19 09:23:22 +00:00
Eric Botcazou 1b5963f799 re PR target/12916 (No vector ABI)
PR target/12916
	* config/sparc/sparc.h (NPARM_REGS): Delete.
	(BASE_RETURN_VALUE_REG): Likewise.
	(BASE_OUTGOING_VALUE_REG): Likewise.
	(BASE_PASSING_ARG_REG): Likewise.
	(BASE_INCOMING_ARG_REG): Likewise.
	* config/sparc/sparc.c (sparc_strict_argument_naming): Test
	TARGET_ARCH64, not TARGET_V9.
	(function_arg_slotno): Dispatch based on the mode class.
	Handle vector modes like floating-point modes.
	(function_arg_record_value_1): Handle vector types like
	floating-point types.
	(function_arg_record_value_2): Likewise.
	Calculate regno after mode transformation.
	(function_arg): Handle vector modes like floating-point modes.
	(function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX.
	If ARCH64, do not recheck alignment.
	(function_arg_pass_by_reference): Reorder the conditions.
	(sparc_return_in_memory): Move after function_arg_padding.
	Implement calling conventions for vector modes.
	(sparc_struct_value_rtx): Move after sparc_return_in_memory.
	(function_value): Move scope of 'regbase'.
	Implement calling conventions for vector modes.
	(sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX
	and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST.
	(sparc_va_arg): Use function_arg_pass_by_reference to test whether
	the argument is passed by reference.
	(sparc_type_code): Handle vector types.

From-SVN: r78087
2004-02-19 09:02:48 +00:00
Alan Modra 19037b5c9e New test.
From-SVN: r78080
2004-02-19 18:32:59 +10:30
Alan Modra 196c42cd7c function.c (assign_parms): When building decl_rtl for SPLIT_COMPLEX_ARGS...
* function.c (assign_parms): When building decl_rtl for
	SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.

From-SVN: r78079
2004-02-19 18:30:47 +10:30
Hans-Peter Nilsson 9188db2d00 re PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)
PR target/14209
	* gcc.c-torture/execute/20040218-1.c: New test.

From-SVN: r78078
2004-02-19 07:58:05 +00:00
Olivier Hainque c0cfc6913e expr.c (is_aligning_offset): Check if we are aligning the expressions's address over BIGGEST_ALIGNMENT in...
* expr.c (is_aligning_offset): Check if we are aligning the
	expressions's address over BIGGEST_ALIGNMENT in bytes, not
	in bits.

From-SVN: r78076
2004-02-19 07:52:51 +00:00