]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agoconfig.gcc (sparc64-*-openbsd*): New.
Marc Espie [Thu, 30 May 2002 20:42:33 +0000 (20:42 +0000)] 
config.gcc (sparc64-*-openbsd*): New.

2002-05-30 Marc Espie <espie@openbsd.org>
* config.gcc (sparc64-*-openbsd*):  New.
* config/sparc/openbsd1-64.h:  New.
* config/sparc/openbsd64.h:  New.

From-SVN: r54068

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 30 May 2002 20:42:33 +0000 (20:42 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54067

23 years agonetbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
Jason Thorpe [Thu, 30 May 2002 17:25:07 +0000 (17:25 +0000)] 
netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.

* config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to
96 if not __mc68010__.

From-SVN: r54060

23 years agosysv4.h (DO_SELECT_SECTION): Also handle FUNCTION_DECLs.
Andreas Schwab [Thu, 30 May 2002 12:42:27 +0000 (12:42 +0000)] 
sysv4.h (DO_SELECT_SECTION): Also handle FUNCTION_DECLs.

* config/ia64/sysv4.h (DO_SELECT_SECTION): Also handle
FUNCTION_DECLs.

From-SVN: r54056

23 years agoDaily bump.
GCC Administrator [Thu, 30 May 2002 07:16:46 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54044

23 years agonetbsd64.h (CPP_LP64_SPEC): Define.
Jason Thorpe [Thu, 30 May 2002 04:00:33 +0000 (04:00 +0000)] 
netbsd64.h (CPP_LP64_SPEC): Define.

* config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
cpp_subtarget specs.
(CPP_SPEC): Redefine to include %(cpp_subtarget).

From-SVN: r54041

23 years agomd.texi (Patterns): Note pattern condition pitfall for unnamed insn.
Hans-Peter Nilsson [Thu, 30 May 2002 00:50:06 +0000 (00:50 +0000)] 
md.texi (Patterns): Note pattern condition pitfall for unnamed insn.

* doc/md.texi (Patterns): Note pattern condition pitfall
for unnamed insn.

From-SVN: r54033

23 years agonetbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.
Jason Thorpe [Wed, 29 May 2002 23:30:17 +0000 (23:30 +0000)] 
netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.

* config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
-D__arch64__.  Add -D_LP64.
(CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
from sparc.h.
(CPP_ARCH64_SPEC): Likewise.
(NO_BUILTIN_PTRDIFF_TYPE): Undef.
(NO_BUILTIN_SIZE_TYPE): Undef.

From-SVN: r54029

23 years ago* config.gcc (alpha-*-netbsd*): Don't use crtstuff.
Jason Thorpe [Wed, 29 May 2002 22:33:00 +0000 (22:33 +0000)] 
* config.gcc (alpha-*-netbsd*): Don't use crtstuff.

From-SVN: r54025

23 years ago* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
Jason Thorpe [Wed, 29 May 2002 22:12:47 +0000 (22:12 +0000)] 
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.

From-SVN: r54024

23 years agoi386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca.
Richard Henderson [Wed, 29 May 2002 20:34:28 +0000 (13:34 -0700)] 
i386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca.

        * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
        alignment for alloca.

        * gcc.c-torture/execute/alloca-1.c: New.

From-SVN: r54020

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 29 May 2002 20:34:28 +0000 (20:34 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54019

23 years agore PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of...
Neil Booth [Wed, 29 May 2002 19:26:04 +0000 (19:26 +0000)] 
re PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of #define's)

PR preprocessor/6844
* cppmacro.c (cpp_macro_definition): Reserve space for terminating
NUL.

From-SVN: r54013

23 years agors6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
Joel Sherrill [Wed, 29 May 2002 17:17:02 +0000 (17:17 +0000)] 
rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.

2002-05-29  Joel Sherrill <joel@OARcorp.com>

        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.

From-SVN: r54008

23 years agore PR target/6838 (cris-elf ICE (gcc 3.1))
Hans-Peter Nilsson [Wed, 29 May 2002 16:26:00 +0000 (16:26 +0000)] 
re PR target/6838 (cris-elf ICE (gcc 3.1))

PR target/6838
* config/cris/cris.md: Fix typos and thinkos in comments.
(splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
Remove spurious mode specifier on operand 2.

From-SVN: r54003

23 years ago* gcc.c-torture/execute/20020529-1.c: New test.
Hans-Peter Nilsson [Wed, 29 May 2002 16:18:20 +0000 (16:18 +0000)] 
* gcc.c-torture/execute/20020529-1.c: New test.

From-SVN: r54001

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 29 May 2002 16:18:20 +0000 (16:18 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54000

23 years agos390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.
Ulrich Weigand [Wed, 29 May 2002 13:27:28 +0000 (13:27 +0000)] 
s390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.

* config/s390/s390.c (legitimate_pic_operand_p): Do not
accept symbolic LARL operands.
(s390_emit_epilogue): Do not set FRAME_RELATED_P on
epilogue insns.

From-SVN: r53992

23 years ago(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
Nick Clifton [Wed, 29 May 2002 10:59:21 +0000 (10:59 +0000)] 
(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.

From-SVN: r53989

23 years agoDaily bump.
GCC Administrator [Wed, 29 May 2002 07:17:18 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r53983

23 years agoc++config (__USE_MALLOC): Report case where the user improperly defined it on the...
Loren J. Rittle [Wed, 29 May 2002 01:07:35 +0000 (01:07 +0000)] 
c++config (__USE_MALLOC): Report case where the user improperly defined it on the command line.

libstdc++/6641
* include/bits/c++config (__USE_MALLOC): Report case where
the user improperly defined it on the command line.

From-SVN: r53979

23 years agoopenbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h.
Marc Espie [Tue, 28 May 2002 21:29:47 +0000 (21:29 +0000)] 
openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h.

* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
inherited from gas.h.
(ASM_QUAD):  Undef.  OpenBSD does not support it.

From-SVN: r53972

23 years agoinstall.texi (binaries): Change mingw binaries link to www.mingw.org.
Danny Smith [Tue, 28 May 2002 21:24:02 +0000 (21:24 +0000)] 
install.texi (binaries): Change mingw binaries link to www.mingw.org.

* doc/install.texi (binaries): Change mingw binaries
link to www.mingw.org.

From-SVN: r53970

23 years agoi386.c (ix86_compute_frame_layout): Do not add bottom alignment for leaf functions.
Richard Henderson [Tue, 28 May 2002 20:29:43 +0000 (13:29 -0700)] 
i386.c (ix86_compute_frame_layout): Do not add bottom alignment for leaf functions.

        * config/i386/i386.c (ix86_compute_frame_layout): Do not add
        bottom alignment for leaf functions.

From-SVN: r53966

23 years agoffi.c (ffi_prep_incoming_args_SYSV): Remove avn here too.
Bo Thorsen [Tue, 28 May 2002 09:22:08 +0000 (09:22 +0000)] 
ffi.c (ffi_prep_incoming_args_SYSV): Remove avn here too.

2002-05-28  Bo Thorsen  <bo@suse.de>

* src/x86/ffi.c (ffi_prep_incoming_args_SYSV): Remove avn
here too.

From-SVN: r53954

23 years agoDaily bump.
GCC Administrator [Tue, 28 May 2002 07:17:48 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r53948

23 years ago* src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
Roger Sayle [Tue, 28 May 2002 07:05:52 +0000 (07:05 +0000)] 
* src/x86/ffi.c (ffi_prep_args): Remove reference to avn.

From-SVN: r53945

23 years agomisc-inst.cc: Define unnecessary algorithm instantiations.
Benjamin Kosnik [Mon, 27 May 2002 15:07:15 +0000 (15:07 +0000)] 
misc-inst.cc: Define unnecessary algorithm instantiations.

2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

        * src/misc-inst.cc: Define unnecessary algorithm
        instantiations. Break apart instantiations into groupings below.
        * src/fstream-inst.cc: New.
        * src/io-inst.cc: New.
        * src/istream-inst.cc: New.
        * src/ostream-inst.cc: New.
        * src/streambuf-inst.cc: New.
        * src/sstream-inst.cc: New.
        * src/Makefile.am (sources): Add files.
        * src/Makefile.in: Regenerate.

        * acinclude.m4: Work around automake 1.4-p5 bug, change
        AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.

From-SVN: r53933

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 27 May 2002 15:07:15 +0000 (15:07 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53932

23 years agomisc-inst.cc: Define unnecessary algorithm instantiations.
Benjamin Kosnik [Mon, 27 May 2002 15:01:30 +0000 (15:01 +0000)] 
misc-inst.cc: Define unnecessary algorithm instantiations.

2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

        * src/misc-inst.cc: Define unnecessary algorithm
        instantiations. Break apart instantiations into groupings below.
        * src/fstream-inst.cc: New.
        * src/io-inst.cc: New.
        * src/istream-inst.cc: New.
        * src/ostream-inst.cc: New.
        * src/streambuf-inst.cc: New.
        * src/sstream-inst.cc: New.
        * src/Makefile.am (sources): Add files.
        * src/Makefile.in: Regenerate.

        * acinclude.m4: Work around automake 1.4-p5 bug, change
        AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.

From-SVN: r53931

23 years agoffi.c (ffi_prep_args): Remove unused variable and fix formatting.
Bo Thorsen [Mon, 27 May 2002 13:52:44 +0000 (13:52 +0000)] 
ffi.c (ffi_prep_args): Remove unused variable and fix formatting.

2002-05-24  Bo Thorsen  <bo@suse.co.uk>

* src/x86/ffi.c (ffi_prep_args): Remove unused variable and
fix formatting.

From-SVN: r53925

23 years agore PR libstdc++/6795 (stringbuf failure)
Benjamin Kosnik [Mon, 27 May 2002 11:50:17 +0000 (11:50 +0000)] 
re PR libstdc++/6795 (stringbuf failure)

2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6795.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h
(classic_table): Fix.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
_GLIBCPP_USE_WCHAR_T.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.

From-SVN: r53922

23 years agoreload.c (find_valid_class): Accept new argument DEST, choose class accordingly.
Jan Hubicka [Mon, 27 May 2002 08:40:43 +0000 (10:40 +0200)] 
reload.c (find_valid_class): Accept new argument DEST, choose class accordingly.

* reload.c (find_valid_class): Accept new argument DEST,
choose class accordingly.
(push_reload): Update callers.

From-SVN: r53919

23 years agoDaily bump.
GCC Administrator [Mon, 27 May 2002 07:16:54 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r53914

23 years ago[multiple changes]
Richard Henderson [Mon, 27 May 2002 05:48:20 +0000 (22:48 -0700)] 
[multiple changes]

2002-05-25  Richard Henderson  <rth@redhat.com>
* c-pragma.c (apply_pragma_weak): Convert value identifier to
string for decl_attributes.
(handle_pragma_weak): Call assemble_alias if we're modifying
an existing decl.

* gcc.dg/weak-9.c: New.

2002-05-15  Richard Henderson  <rth@redhat.com>
* varasm.c (merge_weak): Remove special case for extern and common.

2002-05-15  Richard Henderson  <rth@redhat.com>
* varasm.c (merge_weak): Error for any weakening after definition.
Adjust weakening after use warning to catch more cases.
(assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
* config/alpha/alpha.c (alpha_encode_section_info): Do not abort.

* gcc.dg/weak-5.c (vfoo1c): No warning here.
(vfoo1f): Warning here.
(vfoo1l): Don't redefine the alias.

2002-03-02  Richard Henderson  <rth@redhat.com>
* attribs.c (handle_alias_attribute): Don't call assemble_alias.
* toplev.c (rest_of_decl_compilation): Invoke assemble_alias when
needed.

From-SVN: r53910

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 27 May 2002 05:48:20 +0000 (05:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53909

23 years agocse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
Jakub Jelinek [Sun, 26 May 2002 19:58:07 +0000 (21:58 +0200)] 
cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.

* cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.

* g++.dg/opt/cse2.C: New test.

From-SVN: r53904

23 years agoFix typo last change.
Richard Henderson [Sun, 26 May 2002 19:06:44 +0000 (12:06 -0700)] 
Fix typo last change.

From-SVN: r53903

23 years agore PR libstdc++/6811 (Missing 'return *this' in __enc_traits& operator=(const __enc_t...
Carlo Wood [Sun, 26 May 2002 14:45:43 +0000 (14:45 +0000)] 
re PR libstdc++/6811 (Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release)

2002-05-26  Carlo Wood  <carlo@alinoe.com>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6811
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits::operator=): add missing return statement.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r53897

23 years agognatvsn.ads (Gnat_Version_String): Change to "3.1.1 20020526 (prerelease)".
Joseph Myers [Sun, 26 May 2002 10:35:14 +0000 (11:35 +0100)] 
gnatvsn.ads (Gnat_Version_String): Change to "3.1.1 20020526 (prerelease)".

gcc/ada:
* gnatvsn.ads (Gnat_Version_String): Change to "3.1.1 20020526
(prerelease)".

maintainer-scripts:
* gcc_release: Add gcc/ada/gnatvsn.ads to list of files in which
release status is updated.

From-SVN: r53893

23 years agoDaily bump.
GCC Administrator [Sun, 26 May 2002 07:17:02 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r53887

23 years agosparc.c (sparc_output_mi_thunk): New implementation using rtl instead of fprintf.
Richard Henderson [Sun, 26 May 2002 02:42:21 +0000 (19:42 -0700)] 
sparc.c (sparc_output_mi_thunk): New implementation using rtl instead of fprintf.

        * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
        using rtl instead of fprintf.
        * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
        * config/sparc/sparc-protos.h: Update.
* g++.dg/opt/thunk1.C: New.

From-SVN: r53883

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 26 May 2002 02:42:21 +0000 (02:42 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53882

23 years ago* gettextP.h (SWAP): Change parameter type to unsigned int.
Roman Lechtchinsky [Sun, 26 May 2002 01:43:14 +0000 (01:43 +0000)] 
* gettextP.h (SWAP): Change parameter type to unsigned int.

From-SVN: r53879

23 years agoavr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
Marek Michalkiewicz [Sat, 25 May 2002 22:15:26 +0000 (00:15 +0200)] 
avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.

* config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.

* config/avr/avr.c (machine_dependent_reorg): Sign extend the
CONST_INT operand to the correct mode after adding 1 to it.

From-SVN: r53877

23 years agoDaily bump.
GCC Administrator [Sat, 25 May 2002 07:16:30 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r53865

23 years agounicosmk.h (REAL_VALUE_TO_TARGET_SINGLE, [...]): Define for native builds.
Roman Lechtchinsky [Fri, 24 May 2002 23:04:18 +0000 (23:04 +0000)] 
unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE, [...]): Define for native builds.

        * config/alpha/unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE,
        REAL_VALUE_TO_TARGET_DOUBLE): Define for native builds.

From-SVN: r53859

23 years agore PR other/6782 (Specifing "-fverbose-asm" option throws ICE.)
Jakub Jelinek [Fri, 24 May 2002 21:26:54 +0000 (23:26 +0200)] 
re PR other/6782 (Specifing "-fverbose-asm" option throws ICE.)

PR other/6782
* final.c (get_mem_expr_from_op): Return 0 if op is NULL.

* gcc.dg/verbose-asm.c: New test.

From-SVN: r53855

23 years agoaix43.h (LINK_SPEC): Add PE initializer.
David Edelsohn [Fri, 24 May 2002 19:27:09 +0000 (19:27 +0000)] 
aix43.h (LINK_SPEC): Add PE initializer.

        * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
        (STARTFILE_SPEC): Delete PE crt0.o.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
        function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
        (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
        * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.

From-SVN: r53852

23 years agovarasm.c (asm_output_bss): Always output one byte.
Richard Henderson [Fri, 24 May 2002 19:22:11 +0000 (12:22 -0700)] 
varasm.c (asm_output_bss): Always output one byte.

        * varasm.c (asm_output_bss): Always output one byte.
        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.

From-SVN: r53850

23 years agore PR preprocessor/6780 (Incorrect diagnosis of token pasting)
Neil Booth [Fri, 24 May 2002 19:13:48 +0000 (19:13 +0000)] 
re PR preprocessor/6780 (Incorrect diagnosis of token pasting)

PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.

From-SVN: r53848

23 years agore PR libstdc++/6282 (bitset<0> results in nonsense behavior)
Phil Edwards [Fri, 24 May 2002 18:17:10 +0000 (18:17 +0000)] 
re PR libstdc++/6282 (bitset<0> results in nonsense behavior)

2002-05-24  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/6282
* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
(operator>>):  If nothing was extracted, don't fail in the
zero-length case.
* testsuite/23_containers/bitset_ctor.cc (test02):  New test.

From-SVN: r53845

23 years ago[multiple changes]
Benjamin Kosnik [Fri, 24 May 2002 16:15:27 +0000 (16:15 +0000)] 
[multiple changes]

2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6701
* testsuite/22_locale/ctype_narrow_char.cc: New.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
* testsuite/22_locale/ctype_widen_char.cc: New.
* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
* testsuite/22_locale/ctype_is_char.cc: ...this.
* testsuite/22_locale/ctype_to_char.cc: ...and this.
* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.

* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.

2002-05-24  Dale Peakall <dale@peakall.net>

PR libstdc++/6701
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
* config/locale/generic/ctype_members.cc: Same.

From-SVN: r53843

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 24 May 2002 16:15:27 +0000 (16:15 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53842

23 years agore PR libstdc++/6750 (ofstream incorrectly sets failbit (severe regression))
Benjamin Kosnik [Fri, 24 May 2002 15:57:47 +0000 (15:57 +0000)] 
re PR libstdc++/6750 (ofstream incorrectly sets failbit (severe regression))

2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6750
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for empty string literal.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
(ostream<char>::operator<<(streambuf*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.

From-SVN: r53840

23 years agobitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
Richard Earnshaw [Fri, 24 May 2002 12:23:36 +0000 (12:23 +0000)] 
bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.

2002-05-21  Richard Earnshaw  <rearnsha@arm.com>

* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.

From-SVN: r53838

23 years agocppinit.c (mark_named_operators): Split out from init_builtins.
Neil Booth [Fri, 24 May 2002 09:27:00 +0000 (09:27 +0000)] 
cppinit.c (mark_named_operators): Split out from init_builtins.

* cppinit.c (mark_named_operators): Split out from init_builtins.
(struct builtin): Remove operator.
(CPLUS, OPERATOR, O): Kill
(struct named_op): New.
(cpp_finish_options): Call it from here instead.
(init_builtins): Don't do named operators.
testsuite:
* g++.dg/parse/named_ops.C: New test.

From-SVN: r53832

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 24 May 2002 09:27:00 +0000 (09:27 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53831

23 years agoDaily bump.
GCC Administrator [Fri, 24 May 2002 07:16:48 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r53823

23 years agocselib.c (max_value_regs): New.
David S. Miller [Fri, 24 May 2002 07:06:29 +0000 (00:06 -0700)] 
cselib.c (max_value_regs): New.

2002-05-20  David S. Miller  <davem@redhat.com>

* cselib.c (max_value_regs): New.
(cselib_lookup, cselib_invalidate_regno): Initialize it when
adding new entries to the REG_VALUES table and we are dealing with
a hard register.
(clear_table): Initialize it.
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.

From-SVN: r53821

23 years agomore clarifications
Bruce Korb [Fri, 24 May 2002 01:51:51 +0000 (01:51 +0000)] 
more clarifications

From-SVN: r53818

23 years ago* config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
Alan Modra [Thu, 23 May 2002 23:22:44 +0000 (23:22 +0000)] 
* config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.

From-SVN: r53816

23 years agolinux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
Hans Boehm [Thu, 23 May 2002 21:24:38 +0000 (21:24 +0000)] 
linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.

* config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K
pages.

From-SVN: r53808

23 years agoconfigure.in: Update local install.html, configopts.html paths.
Rainer Orth [Thu, 23 May 2002 18:51:30 +0000 (18:51 +0000)] 
configure.in: Update local install.html, configopts.html paths.

* configure.in: Update local install.html, configopts.html paths.
* configure: Regenerate.

From-SVN: r53802

23 years ago* objc.dg/const-str-2.m: Fix test.
Neil Booth [Thu, 23 May 2002 18:12:39 +0000 (18:12 +0000)] 
* objc.dg/const-str-2.m: Fix test.

From-SVN: r53799

23 years agore PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
Neil Booth [Thu, 23 May 2002 17:57:46 +0000 (17:57 +0000)] 
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")

PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.

From-SVN: r53797

23 years agotestsuite_hooks.h (__set_testsuite_memlimit): Retrieve current limits before setting.
Rainer Orth [Thu, 23 May 2002 17:01:30 +0000 (17:01 +0000)] 
testsuite_hooks.h (__set_testsuite_memlimit): Retrieve current limits before setting.

* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
current limits before setting.

From-SVN: r53795

23 years agore PR target/6755 (.../gcc-3.1/libstdc++-v3/configure script fails for mips-sgi-irix6.2)
Rainer Orth [Thu, 23 May 2002 16:58:49 +0000 (16:58 +0000)] 
re PR target/6755 (.../gcc-3.1/libstdc++-v3/configure script fails for mips-sgi-irix6.2)

* acinclude.m4 (enable_symvers): Quote $LD.
* aclocal.m4: Regenerate.
* configure: Likewise.
Fixes PR target/6755.

From-SVN: r53794

23 years ago002-05-23 Benjamin Kosnik <bkoz@redhat.com>
Benjamin Kosnik [Thu, 23 May 2002 16:11:01 +0000 (16:11 +0000)] 
002-05-23  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (release_VERSION): Update to 3.1.1.
(libtool_VERSION): Update to 4:1:0.
* configure: Regenerate.

From-SVN: r53792

23 years agore PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)
Jakub Jelinek [Thu, 23 May 2002 09:25:34 +0000 (11:25 +0200)] 
re PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)

PR target/6753
* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
of x in constraints for clarity.
(sse_mov?fcc split): abort if op2 == op3.
(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
sse_movsfcc_const0_4): Add earlyclobber.
(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
Use Y instead of x in constraints.

From-SVN: r53783

23 years agore PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)
Jakub Jelinek [Thu, 23 May 2002 09:24:37 +0000 (11:24 +0200)] 
re PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)

PR target/6753
* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
of x in constraints for clarity.
(sse_mov?fcc split): abort if op2 == op3.
(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
sse_movsfcc_const0_4): Add earlyclobber.
(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
Use Y instead of x in constraints.

* gcc.dg/20020523-1.c: New test.

From-SVN: r53782

23 years agore PR c/6643 (gcc fails in tree check for assignment to variable sized array)
Jakub Jelinek [Thu, 23 May 2002 08:18:42 +0000 (10:18 +0200)] 
re PR c/6643 (gcc fails in tree check for assignment to variable sized array)

PR c/6643
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
if DECL_SIZE_UNIT is INTEGER_CST.

From-SVN: r53780

23 years agocombine.c (force_to_mode): Use gen_int_mode.
Jakub Jelinek [Thu, 23 May 2002 08:14:35 +0000 (10:14 +0200)] 
combine.c (force_to_mode): Use gen_int_mode.

* combine.c (force_to_mode): Use gen_int_mode.
Don't clear CONST_INT bits outside of mode.

* gcc.dg/20020517-1.c: New test.

From-SVN: r53777

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 23 May 2002 08:14:35 +0000 (08:14 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53776

23 years agoconfigure.in: Fix as version test for binutils 2.12.1 releases (without dates).
Jakub Jelinek [Thu, 23 May 2002 08:01:58 +0000 (10:01 +0200)] 
configure.in: Fix as version test for binutils 2.12.1 releases (without dates).

* configure.in: Fix as version test for binutils 2.12.1 releases
(without dates).
* configure: Rebuilt.

From-SVN: r53774

23 years agoDaily bump.
GCC Administrator [Thu, 23 May 2002 07:17:02 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r53768

23 years agoFix libstdc++-v3/ChangeLog omission from 2002-05-18 trunk merge.
Kaveh Ghazi [Thu, 23 May 2002 03:20:07 +0000 (03:20 +0000)] 
Fix libstdc++-v3/ChangeLog omission from 2002-05-18 trunk merge.

From-SVN: r53757

23 years agoFix a typo.
Jakub Jelinek [Wed, 22 May 2002 16:42:03 +0000 (18:42 +0200)] 
Fix a typo.

From-SVN: r53738

23 years agoi386.c (expand_movstr, [...]): Fix inline-all-stringops sequence.
Jan Hubicka [Wed, 22 May 2002 12:24:04 +0000 (12:24 +0000)] 
i386.c (expand_movstr, [...]): Fix inline-all-stringops sequence.

* i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
sequence.
(ix86_expand_clrstr): Fix typo.

From-SVN: r53735

23 years agoloop-2c.x: Remove, the test should pass now.
Andreas Jaeger [Wed, 22 May 2002 11:49:47 +0000 (13:49 +0200)] 
loop-2c.x: Remove, the test should pass now.

* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
now.
* gcc.c-torture/execute/loop-2d.x: Likewise.

From-SVN: r53733

23 years agoDaily bump.
GCC Administrator [Wed, 22 May 2002 07:17:15 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r53727

23 years ago* tradcpp.c (fixup_newlines): Make K&R.
Duraid Madina [Wed, 22 May 2002 05:58:50 +0000 (05:58 +0000)] 
* tradcpp.c (fixup_newlines): Make K&R.

From-SVN: r53725

23 years agosystem.h (BLOCK_PROFILER, [...]): Poison.
Richard Henderson [Tue, 21 May 2002 23:45:18 +0000 (16:45 -0700)] 
system.h (BLOCK_PROFILER, [...]): Poison.

* system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.

* toplev.c (display_help): Kill -a -ax help.

* config/1750a/1750a.h, config/alpha/alpha.h,
config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.

* libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
* config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.

* config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
(ix86_output_function_block_profiler): Kill.
* config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
(m68hc11_function_block_profiler): Kill.
* config/m68hc11/m68hc11-protos.h: Update.
* config/m88k/m88k.c (output_block_profiler): Kill.
(output_function_block_profiler): Kill.
* config/m88k/m88k-protos.h: Update.

From-SVN: r53712

23 years agoreload1.c (do_output_reload): Run delete_output_reload only if optimizing.
NIIBE Yutaka [Tue, 21 May 2002 23:42:54 +0000 (23:42 +0000)] 
reload1.c (do_output_reload): Run delete_output_reload only if optimizing.

        * reload1.c (do_output_reload): Run delete_output_reload
        only if optimizing.

From-SVN: r53711

23 years agostdio_filebuf.h: Add header guards.
Phil Edwards [Tue, 21 May 2002 21:26:28 +0000 (21:26 +0000)] 
stdio_filebuf.h: Add header guards.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.

From-SVN: r53702

23 years agostl_pair.h: Tweak comment markup.
Phil Edwards [Tue, 21 May 2002 21:09:43 +0000 (21:09 +0000)] 
stl_pair.h: Tweak comment markup.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_pair.h:  Tweak comment markup.

From-SVN: r53701

23 years agoDaily bump.
GCC Administrator [Tue, 21 May 2002 07:19:06 +0000 (07:19 +0000)] 
Daily bump.

From-SVN: r53679

23 years agocse.c (canon_hash): Reorder do_not_record test.
Richard Henderson [Mon, 20 May 2002 16:57:57 +0000 (09:57 -0700)] 
cse.c (canon_hash): Reorder do_not_record test.

        * cse.c (canon_hash): Reorder do_not_record test.  Always
        allow pic_offset_table_rtx.

From-SVN: r53663

23 years agoDaily bump.
GCC Administrator [Mon, 20 May 2002 07:16:32 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r53650

23 years ago* doc/contrib.texi: Update my entry.
Neil Booth [Sun, 19 May 2002 19:59:08 +0000 (19:59 +0000)] 
* doc/contrib.texi: Update my entry.

From-SVN: r53637

23 years agoconfigure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
Kaveh R. Ghazi [Sun, 19 May 2002 15:27:24 +0000 (15:27 +0000)] 
configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.

* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).

* Makefile.in, config.h.in, configure: Regenerate.

From-SVN: r53632

23 years ago* mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
Kaveh R. Ghazi [Sun, 19 May 2002 15:21:35 +0000 (15:21 +0000)] 
* mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.

From-SVN: r53630

23 years agoavr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte...
Marek Michalkiewicz [Sun, 19 May 2002 15:18:46 +0000 (17:18 +0200)] 
avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte of the frame pointer.

2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
which may overwrite the high byte of the frame pointer.

From-SVN: r53629

23 years agoctype_noninline.h (classic_table): Return __ctype + 1.
Kaveh R. Ghazi [Sun, 19 May 2002 15:16:30 +0000 (15:16 +0000)] 
ctype_noninline.h (classic_table): Return __ctype + 1.

* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
Return __ctype + 1.
(ctype:_M_table): Initialize to classic_table(), not __ctype.

From-SVN: r53628

23 years ago* config/os/irix/irix5.2/bits/os_defines.h
Kaveh R. Ghazi [Sun, 19 May 2002 15:13:03 +0000 (15:13 +0000)] 
* config/os/irix/irix5.2/bits/os_defines.h
(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.

From-SVN: r53627

23 years ago* error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.
Kriang Lerdsuwanakij [Sun, 19 May 2002 11:04:37 +0000 (11:04 +0000)] 
* error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.

From-SVN: r53624

23 years agoPR c++/186, DR 259
Kriang Lerdsuwanakij [Sun, 19 May 2002 10:19:05 +0000 (10:19 +0000)] 
PR c++/186, DR 259

PR c++/186, DR 259
* pt.c (do_decl_instantiation): Don't complain explicit
instantiation after explicit specialization.
(do_type_instantiation): Likewise.

From-SVN: r53622

23 years agoemit-rtl.c (gen_int_mode): New function.
Lars Brinkhoff [Sun, 19 May 2002 09:05:30 +0000 (09:05 +0000)] 
emit-rtl.c (gen_int_mode): New function.

2002-03-19  Lars Brinkhoff  <lars@nocrew.org>

* emit-rtl.c (gen_int_mode): New function.
* rtl.h: Prototype for it.

From-SVN: r53618

23 years ago[multiple changes]
Paolo Carlini [Sun, 19 May 2002 08:09:47 +0000 (08:09 +0000)] 
[multiple changes]

2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
            Jakub Jelinek  <jakub@redhat.com>

        * testsuite/22_locale/money_get_members_char.cc
        (test01, test02, test04): Use the de_DE@euro named locale
        instead of de_DE to allow for an uniform behaviour with
        both old and Euro-era localedata; tweak some tests.
        * testsuite/22_locale/money_get_members_wchar_t.cc
        (test01, test02, test04): Likewise.
        * testsuite/22_locale/money_put_members_char.cc
        (test01, test02, test04): Likewise.
        * testsuite/22_locale/money_put_members_wchar_t.cc
        (test01, test02, test04): Likewise.

2002-05-19  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/codecvt_members_char_char.cc
(test03): Robustify wrt localedata.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
* testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.

2002-05-19  Paolo Carlini  <pcarlini@unitus.it>

Test all the facets for the temporary "C" locale switch issue.
* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
* testsuite/22_locale/collate_members_char.cc: Add test04.
* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
* testsuite/22_locale/ctype_members_char.cc: Add test05.
* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
* testsuite/22_locale/messages_members_char.cc: Add test03.
* testsuite/22_locale/money_get_members_char.cc: Add test08.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Add test07.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Add test06.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Add test03.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Add test08.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Add test04.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.

* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.

2002-05-19  Benjamin Kosnik  <bkoz@redhat.com>
    Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/num_put_members_char.cc: Add test04(),
testing for the locale_facets.tcc entry of the previous commit.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.

From-SVN: r53616

23 years agoDaily bump.
GCC Administrator [Sun, 19 May 2002 07:21:02 +0000 (07:21 +0000)] 
Daily bump.

From-SVN: r53611