John David Anglin [Fri, 20 Feb 2004 23:10:33 +0000 (23:10 +0000)]
re PR c++/12007 (Multiple inheritance float pass by value fails)
PR c++/12007
* g++.dg/other/vthunk1.C: New test.
From-SVN: r78193
John David Anglin [Fri, 20 Feb 2004 23:03:41 +0000 (23:03 +0000)]
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
Jason Merrill [Fri, 20 Feb 2004 22:55:14 +0000 (17:55 -0500)]
tweak
From-SVN: r78191
Falk Hueffner [Fri, 20 Feb 2004 22:13:16 +0000 (23:13 +0100)]
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
Per Bothner [Fri, 20 Feb 2004 20:02:27 +0000 (12:02 -0800)]
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
Richard Henderson [Fri, 20 Feb 2004 18:42:51 +0000 (10:42 -0800)]
* doc/invoke.texi: Add -Wvariadic-macros.
From-SVN: r78179
Michael Koch [Fri, 20 Feb 2004 17:19:03 +0000 (17:19 +0000)]
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
Andrew Pinski [Fri, 20 Feb 2004 17:18:22 +0000 (17:18 +0000)]
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
Michael Koch [Fri, 20 Feb 2004 17:02:35 +0000 (17:02 +0000)]
2004-02-20 Michael Koch <konqueror@gmx.de>
* gnu/gcj/convert/Convert.java
(main): Use equals() to compare strings.
From-SVN: r78174
Kazu Hirata [Fri, 20 Feb 2004 16:55:30 +0000 (16:55 +0000)]
haifa-sched.c (sched_emit_insn): Remove.
* haifa-sched.c (sched_emit_insn): Remove.
* sched-int.h: Remove the corresponding prototype.
From-SVN: r78173
Kazu Hirata [Fri, 20 Feb 2004 16:21:25 +0000 (16:21 +0000)]
haifa-sched.c (sched_emit_insn): Remove.
* haifa-sched.c (sched_emit_insn): Remove.
* sched-int.h: Remove the corresponding prototype.
From-SVN: r78172
Andrew Cagney [Fri, 20 Feb 2004 16:15:55 +0000 (16:15 +0000)]
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
Michael Koch [Fri, 20 Feb 2004 15:19:25 +0000 (15:19 +0000)]
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
Kazu Hirata [Fri, 20 Feb 2004 14:28:13 +0000 (14:28 +0000)]
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
Mohan Embar [Fri, 20 Feb 2004 12:55:00 +0000 (12:55 +0000)]
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
Arnaud Charlet [Fri, 20 Feb 2004 11:55:27 +0000 (12:55 +0100)]
[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
Matt Kraai [Fri, 20 Feb 2004 09:13:39 +0000 (09:13 +0000)]
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
Matt Kraai [Fri, 20 Feb 2004 09:11:50 +0000 (09:11 +0000)]
install.texi (Building the Ada compiler): Remove example.
* doc/install.texi (Building the Ada compiler): Remove
example.
From-SVN: r78162
Mark Mitchell [Fri, 20 Feb 2004 08:57:33 +0000 (08:57 +0000)]
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
James E Wilson [Fri, 20 Feb 2004 08:38:24 +0000 (08:38 +0000)]
Fix ce3/rnreg dump file ordering problem.
* toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.
From-SVN: r78157
Richard Henderson [Fri, 20 Feb 2004 08:08:57 +0000 (00:08 -0800)]
* Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
From-SVN: r78155
Kazu Hirata [Fri, 20 Feb 2004 06:46:42 +0000 (06:46 +0000)]
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
Mark Mitchell [Fri, 20 Feb 2004 06:43:08 +0000 (06:43 +0000)]
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
Kazu Hirata [Fri, 20 Feb 2004 06:36:33 +0000 (06:36 +0000)]
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
Hans-Peter Nilsson [Fri, 20 Feb 2004 04:53:16 +0000 (04:53 +0000)]
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
Matt Kraai [Fri, 20 Feb 2004 04:19:33 +0000 (04:19 +0000)]
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
Nathanael Nerode [Fri, 20 Feb 2004 03:35:30 +0000 (03:35 +0000)]
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
Nathanael Nerode [Fri, 20 Feb 2004 03:11:01 +0000 (03:11 +0000)]
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
Nathanael Nerode [Fri, 20 Feb 2004 02:01:16 +0000 (02:01 +0000)]
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
Nathanael Nerode [Fri, 20 Feb 2004 01:48:51 +0000 (01:48 +0000)]
* Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
From-SVN: r78142
James E Wilson [Fri, 20 Feb 2004 01:20:33 +0000 (01:20 +0000)]
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
GCC Administrator [Fri, 20 Feb 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r78137
Richard Sandiford [Thu, 19 Feb 2004 23:00:22 +0000 (23:00 +0000)]
Fix attribution in last delta.
From-SVN: r78132
Richard Sandiford [Thu, 19 Feb 2004 22:49:47 +0000 (22:49 +0000)]
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
Richard Henderson [Thu, 19 Feb 2004 22:39:55 +0000 (14:39 -0800)]
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
Richard Henderson [Thu, 19 Feb 2004 22:18:50 +0000 (14:18 -0800)]
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
David Edelsohn [Thu, 19 Feb 2004 22:07:55 +0000 (22:07 +0000)]
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
David Daney [Thu, 19 Feb 2004 22:07:51 +0000 (22:07 +0000)]
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
Kazu Hirata [Thu, 19 Feb 2004 21:49:45 +0000 (21:49 +0000)]
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
Zack Weinberg [Thu, 19 Feb 2004 21:39:52 +0000 (21:39 +0000)]
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
Aldy Hernandez [Thu, 19 Feb 2004 18:50:57 +0000 (18:50 +0000)]
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
Aldy Hernandez [Thu, 19 Feb 2004 18:40:24 +0000 (18:40 +0000)]
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
Steve Ellcey [Thu, 19 Feb 2004 18:03:45 +0000 (18:03 +0000)]
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
Ulrich Weigand [Thu, 19 Feb 2004 17:36:45 +0000 (17:36 +0000)]
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
Zack Weinberg [Thu, 19 Feb 2004 17:21:14 +0000 (17:21 +0000)]
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
Jeff Law [Thu, 19 Feb 2004 16:57:52 +0000 (09:57 -0700)]
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
Joseph Myers [Thu, 19 Feb 2004 16:54:24 +0000 (16:54 +0000)]
* fr.po: Update.
From-SVN: r78101
Ian Lance Taylor [Thu, 19 Feb 2004 15:24:02 +0000 (15:24 +0000)]
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
Nathan Sidwell [Thu, 19 Feb 2004 12:46:49 +0000 (12:46 +0000)]
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
Hans-Peter Nilsson [Thu, 19 Feb 2004 11:28:00 +0000 (11:28 +0000)]
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
Kazu Hirata [Thu, 19 Feb 2004 11:14:12 +0000 (11:14 +0000)]
* config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
From-SVN: r78094
Kazu Hirata [Thu, 19 Feb 2004 11:06:26 +0000 (11:06 +0000)]
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
Kazu Hirata [Thu, 19 Feb 2004 10:59:44 +0000 (10:59 +0000)]
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
Kazu Hirata [Thu, 19 Feb 2004 10:57:02 +0000 (10:57 +0000)]
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
Kazu Hirata [Thu, 19 Feb 2004 10:53:13 +0000 (10:53 +0000)]
* loop.c (all_sets_invariant_p): Remove.
From-SVN: r78090
Eric Botcazou [Thu, 19 Feb 2004 09:23:22 +0000 (10:23 +0100)]
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
Eric Botcazou [Thu, 19 Feb 2004 09:02:48 +0000 (10:02 +0100)]
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
Alan Modra [Thu, 19 Feb 2004 08:02:59 +0000 (08:02 +0000)]
New test.
From-SVN: r78080
Alan Modra [Thu, 19 Feb 2004 08:00:47 +0000 (08:00 +0000)]
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
Hans-Peter Nilsson [Thu, 19 Feb 2004 07:58:05 +0000 (07:58 +0000)]
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
Olivier Hainque [Thu, 19 Feb 2004 07:52:51 +0000 (08:52 +0100)]
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
Matt Austern [Thu, 19 Feb 2004 05:52:38 +0000 (05:52 +0000)]
gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined...
* gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and
LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC.
(init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is
defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc
spec string.
* doc/tm.texi (REAL_LIBGCC_SPEC): Document.
From-SVN: r78072
Giovanni Bajo [Thu, 19 Feb 2004 03:09:59 +0000 (03:09 +0000)]
re PR c++/14181 (Cryptic error message for code that compiled without warnings in 3.3.x)
PR c++/14181
* g++.dg/parse/new2.C: New test.
From-SVN: r78068
Giovanni Bajo [Thu, 19 Feb 2004 03:06:09 +0000 (03:06 +0000)]
re PR c++/14181 (Cryptic error message for code that compiled without warnings in 3.3.x)
PR c++/14181
* parser.c (cp_parser_new_expression): Parse an ill-formed
direct-new-declarator after a parenthesized type-id to emit good
diagnostic.
From-SVN: r78067
GCC Administrator [Thu, 19 Feb 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r78064
Zack Weinberg [Wed, 18 Feb 2004 23:58:00 +0000 (23:58 +0000)]
dwarf2out.c (loclabel_num): Move outside #ifdef DWARF2_DEBUGGING_INFO and mark with GTY(()).
* dwarf2out.c (loclabel_num): Move outside #ifdef
DWARF2_DEBUGGING_INFO and mark with GTY(()).
* config/ia64/ia64.c (struct extern_func_list,extern_func_head):
Mark with GTY(()).
(ia64_hpux_add_extern_decl): Save the decl, not the name string.
Allocate memory with ggc_alloc. No need to copy anything.
(ia64_hpux_file_end): Update to match.
From-SVN: r78061
Jakub Jelinek [Wed, 18 Feb 2004 23:22:49 +0000 (00:22 +0100)]
i386.c (override_options): Don't imply 3DNow!
* config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
by default.
From-SVN: r78059
Ulrich Weigand [Wed, 18 Feb 2004 23:00:24 +0000 (23:00 +0000)]
s390.md ("divmodtidi3"): Use canonical RTL.
* config/s390/s390.md ("divmodtidi3"): Use canonical RTL.
("divmodtisi3"): Likewise.
("udivmoddi4", "udivmodtidi3"): Likewise.
("divmodsi4", "divmoddisi3"): Likewise.
("udivmodsi4", "udivmoddisi3"): Likewise.
("udivsi3", "umodsi3"): Likewise.
From-SVN: r78057
Ulrich Weigand [Wed, 18 Feb 2004 22:37:04 +0000 (22:37 +0000)]
s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying the pool.
* config/s390/s390.c (s390_mainpool_start): Delete the main pool
placeholder insn when chunkifying the pool.
From-SVN: r78054
John David Anglin [Wed, 18 Feb 2004 22:18:54 +0000 (22:18 +0000)]
pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not generating PIC code.
* pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not
generating PIC code.
From-SVN: r78053
Kazu Hirata [Wed, 18 Feb 2004 22:12:59 +0000 (22:12 +0000)]
h8300-protos.h: Add a prototype for h8300_expand_branch.
* config/h8300/h8300-protos.h: Add a prototype for
h8300_expand_branch.
* config/h8300/h8300.c (h8300_expand_branch): New.
* config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt,
bgtu, beq, bne): Call h8300_expand_branch().
From-SVN: r78052
Kazu Hirata [Wed, 18 Feb 2004 22:05:47 +0000 (22:05 +0000)]
h8300-protos.h: Add prototypes for h8300_hard_regno_nregs and h8300_hard_regno_mode_ok.
* config/h8300/h8300-protos.h: Add prototypes for
h8300_hard_regno_nregs and h8300_hard_regno_mode_ok.
* config/h8300/h8300.c (h8300_hard_regno_nregs): New.
(h8300_hard_regno_mode_ok): Likewise.
* config/h8300/h8300.h (HARD_REGNO_NREGS): Call
h8300_hard_regno_nregs().
(HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok().
From-SVN: r78050
Per Bothner [Wed, 18 Feb 2004 22:02:39 +0000 (14:02 -0800)]
re PR preprocessor/14103 (ICEs on "gcc -E -imacros foo.h baz.c")
* cpphash.h (struct cpp_buffer): Restore return_at_eof field. This
partly reverts my 2003-10-01 change, because we're back to logically
including <command line> inside the main line.
* cpplex.c (_cpp_get_fresh_line): Check return_at_eof field.
* cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer.
Fixes PR preprocessor/14103.
* cppfiles.c (_cpp_stack_include): When appropriate decrement
line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION.
(cpp_push_include): Don't need to increment pfile's line field.
* line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1.
* c-ppoutput.c (print struct): New first_time field.
(init_pp_output): Set print.first_time.
(pp_file_change): Use print.first_time, rather than MAIN_FILE_P,
which is set also for (say) <command line>. Clear print.first_time.
* cppfiles.c (struct _cpp_file): Comment and type for pch field
does not match the code, so fix both.
(should_stack_file): Inline include_pch_p function.
(include_pch_p): Remove pointless function.
* cpphash.h (struct cpp_buffer): Remove unused search_cached field.
From-SVN: r78049
Kazu Hirata [Wed, 18 Feb 2004 21:55:02 +0000 (21:55 +0000)]
h8300.md (four define_peephole2's): Use h8300_regs_ok_for_stm().
* config/h8300/h8300.md (four define_peephole2's): Use
h8300_regs_ok_for_stm().
From-SVN: r78048
Kazu Hirata [Wed, 18 Feb 2004 21:50:25 +0000 (21:50 +0000)]
h8300-protos.h: Update the prototype for expand_a_rotate().
* config/h8300/h8300-protos.h: Update the prototype for
expand_a_rotate().
* config/h8300/h8300.c (expand_a_rotate): Remove the first
argument.
* config/h8300/h8300.md: Update all callers.
From-SVN: r78047
Jan Hubicka [Wed, 18 Feb 2004 20:55:29 +0000 (21:55 +0100)]
simplify-rtx.c (simplify_unary_operation): Deal with logicals on floats.
* simplify-rtx.c (simplify_unary_operation): Deal with logicals on
floats.
(simplify_binary_operation): Deal with logicals on floats.
* i386.md (SSE fabs splitters): Emit new patterns.
(SSE cmov splitters): Likewise.
(sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3
(sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use
subregs.
(sse_andsf3, sse_nandsf3, sse_xorsf3): Kill.
(sse_anddf3, sse_nanddf3, sse_xordf3): Kill.
From-SVN: r78045
Kazu Hirata [Wed, 18 Feb 2004 19:42:22 +0000 (19:42 +0000)]
h8300.c (expand_a_rotate): Don't generate insns by hand.
* config/h8300/h8300.c (expand_a_rotate): Don't generate insns
by hand.
(output_a_rotate): Tweak a comment.
* config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1.
(*rotlhi3_1): Change to rotlhi3_1.
(*rotlsi3_1): Change to rotlsi3_1.
From-SVN: r78043
Richard Earnshaw [Wed, 18 Feb 2004 18:44:23 +0000 (18:44 +0000)]
re PR target/13866 (ICE in extract_insn, at recog.c:2083)
PR target/13866
* arm.c (load_multiple_operation): Don't insist that the source reg
of a post-increment component is the same as the destination.
(store_multiple_operation): Likewise.
From-SVN: r78041
Paolo Carlini [Wed, 18 Feb 2004 16:39:13 +0000 (16:39 +0000)]
locale_facets.h (money_get<>::_M_extract): New, helper for do_get.
2004-02-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (money_get<>::_M_extract):
New, helper for do_get.
(money_put<>::_M_insert): Likewise, for do_put.
* include/bits/locale_facets.tcc (money_get<>::_M_extract,
money_put<>::_M_insert): Define.
(money_get<>::do_get(long double&), money_get<>::do_get(
string_type&), money_put::do_put(long double),
money_put::do_put(const string_type&)): Use the helpers.
From-SVN: r78037
Joseph Myers [Wed, 18 Feb 2004 15:53:24 +0000 (15:53 +0000)]
* fr.po: Update.
From-SVN: r78034
Kazu Hirata [Wed, 18 Feb 2004 15:51:07 +0000 (15:51 +0000)]
h8300.md: Move movsf patterns into one section of the file.
* config/h8300/h8300.md: Move movsf patterns into one section
of the file.
From-SVN: r78033
Kazu Hirata [Wed, 18 Feb 2004 15:05:17 +0000 (15:05 +0000)]
cfgloop.h, [...]: Update copyright.
gcc/
* cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c,
loop-unroll.c, scan-decls.c, scan.h, stor-layout.c,
xcoffout.c, xcoffout.h, config/arm/mmintrin.h,
config/mips/linux64.h, config/pa/pa-64.h,
config/rs6000/aix51.h, config/rs6000/aix52.h,
config/rs6000/spe.md, config/sparc/linux.h,
config/sparc/linux64.h: Update copyright.
gcc/cp/
* cp-tree.def, cvt.c: Update copyright.
From-SVN: r78032
Kazu Hirata [Wed, 18 Feb 2004 14:25:33 +0000 (14:25 +0000)]
h8300.md: Move push patterns into one section of the file.
* config/h8300/h8300.md: Move push patterns into one
section of the file.
From-SVN: r78030
Mark Mitchell [Wed, 18 Feb 2004 14:21:13 +0000 (14:21 +0000)]
re PR c++/11326 (C++ IA64 ABI: 3.1.4: sometimes pointer to temporary return value is implicit first parameter preceding "this")
PR c++/11326
* config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL
fntype.
From-SVN: r78028
Paul Brook [Wed, 18 Feb 2004 12:33:18 +0000 (12:33 +0000)]
rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX
* rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX
testsuite/
* gcc.c-torture/compile/libcall-1.c: New test.
From-SVN: r78027
Arnaud Charlet [Wed, 18 Feb 2004 11:52:55 +0000 (12:52 +0100)]
[multiple changes]
2004-02-18 Emmanuel Briot <briot@act-europe.fr>
* ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that
Scan_ALI can be used for multiple ALI files without reinitializing
between calls.
2004-02-18 Robert Dewar <dewar@gnat.com>
* debug.adb: Minor reformatting.
2004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET
to zero if there is an address clause.
2004-02-18 Thomas Quinot <quinot@act-europe.fr>
* exp_util.adb (Side_Effect_Free): Any literal is side effects free.
2004-02-18 Gary Dismukes <dismukes@gnat.com>
* layout.adb (Layout_Component_List): Revise generation of call to
discriminant-checking function to pass selections of all of the type's
discriminants rather than just the variant-controlling discriminant.
2004-02-18 Olivier Hainque <hainque@act-europe.fr>
* 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to
fail in the current setup and triggers spurious system error messages.
Pretend it occurred and failed instead.
2004-02-18 Vincent Celier <celier@gnat.com>
* bld.adb: Mark FLDFLAGS as saved
(Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when
it is not the root project. Put each directory to be
extended between double quotes to prevent it to be expanded on Windows.
(Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing
the project file. Set them back to their initial values if they have not
been set in the project file.
* gprcmd.adb: (Gprdebug, Debug): New global variables
(Display_Command): New procedure
(Usage): Document new command "linkopts"
Call Display_Command when env var GPRDEBUG has the value "TRUE"
Implement new command "linkopts"
Remove quotes that may be around arguments for "extend"
Always call Normalize_Pathname with arguments formatted for the platform
* Makefile.generic: Link C/C++ mains with $(FLDFLAGS)
Change @echo to @$(display) in target clean to be able to clean silently
* Makefile.prolog: Save FLDFLAGS and give it an initial empty value
* prj-part.adb (Project_Path_Name_Of): Do not put final result in
canonical case.
* prj-part.adb (Parse_Single_Project): Always call with From_Extended
= Extending_All when current project is an extending all project.
* vms_conv.adb (Output_File_Expected): New Boolean global variable,
set to True only for LINK command, after Unix switch -o.
(Process_Arguments): Set Output_File_Expected to True for LINK command
after Unix switch -o. When Output_File_Expected is True, never add an
extension to a file name.
* 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the
option file name, only to the --for-linker= switch.
(Option_File_Name): If option file name do not end with ".opt", append
"/OPTIONS".
2004-02-18 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
From-SVN: r78024
Paul Brook [Wed, 18 Feb 2004 11:11:24 +0000 (11:11 +0000)]
Fix previous checkin.
PR debug/12934
* dwarf2out.c (loc_descriptor_from_tree): Handle
EXPR_WITH_FILE_LOCATION.
testsuite/
* gcc.dg/debug/debug-7.c: New test.
From-SVN: r78018
Paul Brook [Wed, 18 Feb 2004 11:02:23 +0000 (11:02 +0000)]
dwarf2out.c (loc_descriptor_from_tree): Handle EXPR_WITH_FILE_LOCATION.
* dwarf2out.c (loc_descriptor_from_tree): Handle
EXPR_WITH_FILE_LOCATION.
testsuite/
* gcc.dg/debug/debug-7.c: New test.
From-SVN: r78017
Jakub Jelinek [Wed, 18 Feb 2004 09:43:23 +0000 (10:43 +0100)]
i386.md (zero_extendqidi2, [...]): Remove trailing whitespace from instructions.
* config/i386/i386.md (zero_extendqidi2, zero_extendqidi2,
testdi_1_rex64, anddi_2, xordi_1_rex64, xordi_2_rex64): Remove
trailing whitespace from instructions.
From-SVN: r78016
Paolo Carlini [Wed, 18 Feb 2004 08:36:27 +0000 (08:36 +0000)]
basic_file_stdio.cc (__gnu_internal::xwritev): Rewrite, avoiding recursion.
2004-02-18 Paolo Carlini <pcarlini@suse.de>
* config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
Rewrite, avoiding recursion.
(__gnu_internal::xwrite): Minor tweaks.
From-SVN: r78015
Geoffrey Keating [Wed, 18 Feb 2004 07:11:24 +0000 (07:11 +0000)]
configure.ac: When generating auto-build.h, pass --enable-languages to the sub-configure.
* configure.ac: When generating auto-build.h, pass
--enable-languages to the sub-configure.
Put quotes around ${program_transform_name} when generating
name of as, ld, nm, objdump.
* configure: Regenerate.
From-SVN: r78012
Matt Kraai [Wed, 18 Feb 2004 07:01:01 +0000 (07:01 +0000)]
* Makefile.in (s-check, 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-iov): Do not depend on move-if-change.
(gcc/ada)
* Make-lang.in (stamp-sdefault): Do not depend on
move-if-change.
From-SVN: r78011
James E Wilson [Wed, 18 Feb 2004 06:49:58 +0000 (06:49 +0000)]
Fix rtl sharing problem reported by Daniel Bayer on gcc list.
* caller-save.c (insert_restore): Pass mem through copy_rtx.
(insert_save): Likewise.
From-SVN: r78010
Stefan Olsson [Wed, 18 Feb 2004 01:21:10 +0000 (02:21 +0100)]
mt_allocator.h: Removed the last pointer.
2004-02-17 Stefan Olsson <stefan@xapa.se>
* include/ext/mt_allocator.h: Removed the last
pointer. Deallocated blocks are now added to the front of
freelists as proposed by Felix Yen. This gives roughly 10%
performance boost and saves some memory.
* docs/html/ext/mt_allocator.html: Change due to that deallocated
blocks now are added to the front of freelists. The reason to this
approach is also explained.
From-SVN: r78009
Kazu Hirata [Wed, 18 Feb 2004 01:18:29 +0000 (01:18 +0000)]
h8300.c (h8300_emit_stack_adjustment): Fix a warning.
* config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a
warning.
From-SVN: r78008
Kazu Hirata [Wed, 18 Feb 2004 00:54:34 +0000 (00:54 +0000)]
h8300.md (*one_complsi2_h8300): Change to *one_cmplsi2_h8300.
* config/h8300/h8300.md (*one_complsi2_h8300): Change to
*one_cmplsi2_h8300.
(*one_complsi2_h8300hs): Change to *one_cmplsi2_h8300hs.
From-SVN: r78007
Kazu Hirata [Wed, 18 Feb 2004 00:42:39 +0000 (00:42 +0000)]
h8300-protos.h: Update the prototype of fix_bit_operand().
* config/h8300/h8300-protos.h: Update the prototype of
fix_bit_operand().
* config/h8300/h8300.c (fix_bit_operand): Remove the second
argument "what".
* config/h8300/h8300.md: Update all callers.
From-SVN: r78006
GCC Administrator [Wed, 18 Feb 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r78003
Kazu Hirata [Wed, 18 Feb 2004 00:11:25 +0000 (00:11 +0000)]
h8300.c (fix_bit_operand): Change the name of the last argument to "code" from "type".
* config/h8300/h8300.c (fix_bit_operand): Change the name of
the last argument to "code" from "type".
From-SVN: r78000
Kazu Hirata [Wed, 18 Feb 2004 00:06:45 +0000 (00:06 +0000)]
h8300.c: Remove an extern declaration of rtx_equal_function_value_matters.
* config/h8300/h8300.c: Remove an extern declaration of
rtx_equal_function_value_matters.
From-SVN: r77998