platform/upstream/gcc.git
20 years ago* reorg.c: Remove comments about dead ports.
Kazu Hirata [Sun, 22 Feb 2004 22:33:12 +0000 (22:33 +0000)]
* reorg.c: Remove comments about dead ports.

From-SVN: r78280

20 years agoconfig.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify extra host object...
Christopher Faylor [Sun, 22 Feb 2004 21:50:52 +0000 (21:50 +0000)]
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

20 years agobackport: tree-inline.c (insert_decl_map): New.
Josef Zlomek [Sun, 22 Feb 2004 18:48:42 +0000 (19:48 +0100)]
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

20 years agogenoutput.c (process_template): Strip trailing whitespace in @ templates and issue...
Jakub Jelinek [Sun, 22 Feb 2004 18:39:06 +0000 (19:39 +0100)]
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

20 years agolocale_facets.tcc (money_put<>::_M_insert): Restructure formatting of value component...
Paolo Carlini [Sun, 22 Feb 2004 11:13:27 +0000 (11:13 +0000)]
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

20 years agoDaily bump.
GCC Administrator [Sun, 22 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r78246

20 years agofix date
Christopher Faylor [Sun, 22 Feb 2004 00:05:40 +0000 (00:05 +0000)]
fix date

From-SVN: r78242

20 years agoconfig.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host object file...
Christopher Faylor [Sun, 22 Feb 2004 00:04:38 +0000 (00:04 +0000)]
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

20 years ago* libsupc++/vterminate.cc
Mark Mitchell [Sat, 21 Feb 2004 20:59:26 +0000 (20:59 +0000)]
* 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

20 years agotestsuite_hooks.cc (__gnu_test::set_memory_limits): Do not set RLIMIT_AS on HP-UX.
Mark Mitchell [Sat, 21 Feb 2004 20:34:38 +0000 (20:34 +0000)]
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

20 years agoi386.c (standard_80387_constant_p): Also prefer the x87's load constant instructions...
Roger Sayle [Sat, 21 Feb 2004 18:48:19 +0000 (18:48 +0000)]
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

20 years agocombine.c (SHIFT_COUNT_TRUNCATED): Remove.
Kazu Hirata [Sat, 21 Feb 2004 18:41:48 +0000 (18:41 +0000)]
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

20 years agocombine.c (can_combine_p): Don't ignore SETs marked with REG_EH_REGION notes.
Alan Modra [Sat, 21 Feb 2004 13:03:40 +0000 (13:03 +0000)]
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

20 years agolocale_facets.h (class money_base): Add { _S_minus, _S_zero, _S_end } enum, _S_atoms.
Paolo Carlini [Sat, 21 Feb 2004 09:26:35 +0000 (09:26 +0000)]
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

20 years agodarwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to SUBTARGET_OPTION_TRANSLATE_TABLE...
Ziemowit Laski [Sat, 21 Feb 2004 09:08:37 +0000 (09:08 +0000)]
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

20 years agoCombine 2 redundant splitters into one.
James E Wilson [Sat, 21 Feb 2004 08:22:34 +0000 (08:22 +0000)]
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

20 years agotarget-supports.exp (check_alias_available): Don't mangle function `g' in test program.
Kaveh R. Ghazi [Sat, 21 Feb 2004 03:02:32 +0000 (03:02 +0000)]
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

20 years agotarget-supports.exp (check_profiling_available): Check argument to determine whether...
Kaveh R. Ghazi [Sat, 21 Feb 2004 02:58:24 +0000 (02:58 +0000)]
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

20 years agoalias.c (OUTGOING_REGNO): Don't define the default.
Kazu Hirata [Sat, 21 Feb 2004 00:39:05 +0000 (00:39 +0000)]
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

20 years agoparams.def (max-peeled-insns, [...]): Set to 400.
Jan Hubicka [Sat, 21 Feb 2004 00:34:46 +0000 (01:34 +0100)]
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

20 years agoDaily bump.
GCC Administrator [Sat, 21 Feb 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r78198

20 years ago9533-1.cc: Open FIFO for writing with ios_base::in|ios_base::out.
Mark Mitchell [Fri, 20 Feb 2004 23:51:07 +0000 (23:51 +0000)]
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

20 years agore PR c++/12007 (Multiple inheritance float pass by value fails)
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

20 years agore PR c++/12007 (Multiple inheritance float pass by value fails)
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

20 years agotweak
Jason Merrill [Fri, 20 Feb 2004 22:55:14 +0000 (17:55 -0500)]
tweak

From-SVN: r78191

20 years agore PR target/14201 (float -> int (in mem) with -mieee causes unrecognizable insn...
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

20 years agoinput.h: Don't #include line-map.h.
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

20 years ago* doc/invoke.texi: Add -Wvariadic-macros.
Richard Henderson [Fri, 20 Feb 2004 18:42:51 +0000 (10:42 -0800)]
* doc/invoke.texi: Add -Wvariadic-macros.

From-SVN: r78179

20 years agoHandler.java (): Removed unneeded check for file != null.
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

20 years agoMAINTAINERS: Add Nicola Pero and myself as libobjc maintainers.
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

20 years ago2004-02-20 Michael Koch <konqueror@gmx.de>
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

20 years agohaifa-sched.c (sched_emit_insn): Remove.
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

20 years agohaifa-sched.c (sched_emit_insn): Remove.
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

20 years agoIndex: ChangeLog
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

20 years agoAbstractButton.java: Made several constants final.
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

20 years agorevert: opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
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

20 years agoinstall.texi: Moved --disable-libgcj and --with-system-zlib documentation to new...
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

20 years ago[multiple changes]
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

20 years agomove-if-change: Remove.
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

20 years agoinstall.texi (Building the Ada compiler): Remove example.
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

20 years agore PR c++/14199 (Unjustified warning about unused variable)
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

20 years agoFix ce3/rnreg dump file ordering problem.
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

20 years ago* Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
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

20 years agogcc.c (process_command): Allow translation of the copyright symbol but not the rest...
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

20 years agore PR c++/14186 (enum in base class conflicts with derived class)
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

20 years ago20040130-1.c: Enable only when __INT_MAX__ >= 2147483647L.
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

20 years agocris.md ("*andsi_movu"): Correct parentheses in predicate.
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

20 years agomove-if-change: Remove.
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

20 years agoacinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
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

20 years agoacinclude.m4: Move certain code to configure.in.
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

20 years agore PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib)
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

20 years ago* Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
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

20 years agoFix latent problem found by Mostafa Hagog.
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

20 years agoDaily bump.
GCC Administrator [Fri, 20 Feb 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r78137

20 years agoFix attribution in last delta.
Richard Sandiford [Thu, 19 Feb 2004 23:00:22 +0000 (23:00 +0000)]
Fix attribution in last delta.

From-SVN: r78132

20 years agomips.c (mips_address_insns): Treat BLKmode specially.
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

20 years agoMakefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
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

20 years agoc-opts.c (warn_variadic_macros): New.
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

20 years ago2.cc: Change input-charset from iso-8859-1 to ISO8859-1.
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

20 years agore PR preprocessor/14198 ([3.4.0][MIPS]FAIL: gcc.dg/cpp/assert4.c (test for excess...
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

20 years agoopts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
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

20 years agoia64.c (ia64_function_arg): In big-endian mode...
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

20 years agomd.texi (Standard Names): Document additional dependency on fix pattern.
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

20 years agospe.md (spe_fixunssfsi2): Rename to spe_fixuns_truncsfsi2.
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

20 years agoia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
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

20 years agos390.md ("*subdf3_cc", [...]): Subtraction is not commutative.
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

20 years agosdbout.c (preinit_symbols, [...]): New statics.
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

20 years agofold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered...
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

20 years ago* fr.po: Update.
Joseph Myers [Thu, 19 Feb 2004 16:54:24 +0000 (16:54 +0000)]
* fr.po: Update.

From-SVN: r78101

20 years agoreload1.c (reload): Correct comment.
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

20 years agoattr-ctor1.C: XFAIL on hppa.
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

20 years agore PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)
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

20 years ago* config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
Kazu Hirata [Thu, 19 Feb 2004 11:14:12 +0000 (11:14 +0000)]
* config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.

From-SVN: r78094

20 years agohooks.c (hook_void_tree_int): Remove.
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

20 years agoemit-rtl.c (subreg_realpart_p): Remove.
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

20 years agoarc.h, [...]: Remove commented-out or useless definitions of CASE_VECTOR_PC_RELATIVE.
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

20 years ago* loop.c (all_sets_invariant_p): Remove.
Kazu Hirata [Thu, 19 Feb 2004 10:53:13 +0000 (10:53 +0000)]
* loop.c (all_sets_invariant_p): Remove.

From-SVN: r78090

20 years agosimd-4.x: Remove.
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

20 years agore PR target/12916 (No vector ABI)
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

20 years agoNew test.
Alan Modra [Thu, 19 Feb 2004 08:02:59 +0000 (08:02 +0000)]
New test.

From-SVN: r78080

20 years agofunction.c (assign_parms): When building decl_rtl for SPLIT_COMPLEX_ARGS...
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

20 years agore PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)
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

20 years agoexpr.c (is_aligning_offset): Check if we are aligning the expressions's address over...
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

20 years agogcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined...
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

20 years agore PR c++/14181 (Cryptic error message for code that compiled without warnings in...
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

20 years agore PR c++/14181 (Cryptic error message for code that compiled without warnings in...
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

20 years agoDaily bump.
GCC Administrator [Thu, 19 Feb 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r78064

20 years agodwarf2out.c (loclabel_num): Move outside #ifdef DWARF2_DEBUGGING_INFO and mark with...
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

20 years agoi386.c (override_options): Don't imply 3DNow!
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

20 years agos390.md ("divmodtidi3"): Use canonical RTL.
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

20 years agos390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying...
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

20 years agopa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not generating PIC...
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

20 years agoh8300-protos.h: Add a prototype for h8300_expand_branch.
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

20 years agoh8300-protos.h: Add prototypes for h8300_hard_regno_nregs and h8300_hard_regno_mode_ok.
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

20 years agore PR preprocessor/14103 (ICEs on "gcc -E -imacros foo.h baz.c")
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

20 years agoh8300.md (four define_peephole2's): Use h8300_regs_ok_for_stm().
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

20 years agoh8300-protos.h: Update the prototype for expand_a_rotate().
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

20 years agosimplify-rtx.c (simplify_unary_operation): Deal with logicals on floats.
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

20 years agoh8300.c (expand_a_rotate): Don't generate insns by hand.
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

20 years agore PR target/13866 (ICE in extract_insn, at recog.c:2083)
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