]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agore PR target/6542 (Internal compiler error when building libgcc for sparc-elf)
Jakub Jelinek [Fri, 3 May 2002 20:46:23 +0000 (22:46 +0200)] 
re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)

PR target/6542
* config/sparc/sparc.h (leaf_reg_remap): Remove const.
(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
fill leaf_reg_remap with identity.
* config/sparc/sparc.c (leaf_reg_remap): Remove const.

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

From-SVN: r53127

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

From-SVN: r53126

23 years agore PR target/6522 ([x86] incorrect struct offset for unaligned 64-bit fields in debug...
Jakub Jelinek [Fri, 3 May 2002 20:35:39 +0000 (22:35 +0200)] 
re PR target/6522 ([x86] incorrect struct offset for unaligned 64-bit fields in debug information)

PR target/6522
* dwarf2out.c (simple_decl_align_in_bits): Renamed to...
(simple_field_decl_align_in_bits): this.  Apply
BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN if defined.

From-SVN: r53125

23 years agoNew.
Richard Henderson [Fri, 3 May 2002 20:29:16 +0000 (13:29 -0700)] 
New.

From-SVN: r53122

23 years agocmdlne-dM-M.c: New test.
Jakub Jelinek [Fri, 3 May 2002 20:26:42 +0000 (22:26 +0200)] 
cmdlne-dM-M.c: New test.

* gcc.dg/cpp/cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dD-M.c: New test.
* gcc.dg/cpp/cmdlne-dN-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
* gcc.dg/cpp/cmdlne-dM-dD.c: New test.

From-SVN: r53120

23 years agoifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.
Richard Henderson [Fri, 3 May 2002 20:24:01 +0000 (13:24 -0700)] 
ifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.

        * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
        noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
        noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
        code before JUMP, not EARLIEST.

From-SVN: r53119

23 years agorevert reversion
Jason Merrill [Fri, 3 May 2002 18:55:23 +0000 (14:55 -0400)] 
revert reversion

From-SVN: r53112

23 years agoChecked in by Eric Christopher <echristo@redhat.com>
Alexandre Oliva [Fri, 3 May 2002 18:41:12 +0000 (18:41 +0000)] 
Checked in by Eric Christopher  <echristo@redhat.com>

2002-05-02  Alexandre Oliva  <aoliva@redhat.com>

        * Makefile.in: Fix for multilibbed natives.

From-SVN: r53111

23 years agore PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)
Benjamin Kosnik [Fri, 3 May 2002 18:29:07 +0000 (18:29 +0000)] 
re PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)

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

PR libstdc++/6549.
* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
* testsuite/27_io/narrow_stream_objects.cc (test07): Add.

From-SVN: r53110

23 years ago* configure.in: Revert 2002-04-18's patch; fixed in libjava.
Alexandre Oliva [Fri, 3 May 2002 18:22:38 +0000 (18:22 +0000)] 
* configure.in: Revert 2002-04-18's patch; fixed in libjava.

From-SVN: r53106

23 years agoSuggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Alexandre Oliva [Fri, 3 May 2002 18:22:16 +0000 (18:22 +0000)] 
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

From-SVN: r53105

23 years agore PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')
Jakub Jelinek [Fri, 3 May 2002 17:51:03 +0000 (19:51 +0200)] 
re PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')

PR preprocessor/6489
* tradcpp.c (fixup_newlines): New.
(main, finclude): Use it.

From-SVN: r53102

23 years agoinstall.texi (Installing): Mention GCC 3.1 buildstats.
Rainer Orth [Fri, 3 May 2002 15:10:24 +0000 (15:10 +0000)] 
install.texi (Installing): Mention GCC 3.1 buildstats.

* doc/install.texi (Installing): Mention GCC 3.1 buildstats.
(Specific): Removed buildstats references.
(Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
(Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
Accomodate Solaris versions beyond 8.
(Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
(Specific, *-*-solaris2.8): Removed, obsolete.

From-SVN: r53096

23 years agoAdd missing comment end.
Jakub Jelinek [Fri, 3 May 2002 14:08:33 +0000 (16:08 +0200)] 
Add missing comment end.

From-SVN: r53094

23 years agodefaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
Jason Merrill [Fri, 3 May 2002 13:13:37 +0000 (09:13 -0400)] 
defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

        * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53092

23 years agodefaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
Jason Merrill [Fri, 3 May 2002 12:07:13 +0000 (08:07 -0400)] 
defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

        * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53087

23 years agodwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't actually declare this...
Jason Merrill [Fri, 3 May 2002 11:31:24 +0000 (07:31 -0400)] 
dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't actually declare this type.

        * dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't
        actually declare this type.
        * decl.c (grokdeclarator): Revert last change.

From-SVN: r53084

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

From-SVN: r53078

23 years ago* doc/install.texi (*-*-freebsd*): Update to latest status.
Loren J. Rittle [Thu, 2 May 2002 23:29:52 +0000 (23:29 +0000)] 
* doc/install.texi (*-*-freebsd*): Update to latest status.

From-SVN: r53071

23 years agore PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc...
Jakub Jelinek [Thu, 2 May 2002 21:28:50 +0000 (23:28 +0200)] 
re PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc++-v3 18_support/numeric_limits.cc)

2002-05-02  Jakub Jelinek  <jakub@redhat.com>

PR target/6540
* config.gcc (sparc*-*-solaris2*): Set float_format to i128.
* config/float-sparc.h: Assume 128-bit long double if
__LONG_DOUBLE_128__ is defined.

From-SVN: r53068

23 years agoindex.html: Update list in #4.1.
Phil Edwards [Thu, 2 May 2002 21:22:14 +0000 (21:22 +0000)] 
index.html: Update list in #4.1.

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

* docs/html/faq/index.html:  Update list in #4.1.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53066

23 years agodwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.
Hans Boehm [Thu, 2 May 2002 20:15:45 +0000 (20:15 +0000)] 
dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.

* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
use sigaction instead of __libc_sigaction.

From-SVN: r53062

23 years agoinit.c (perform_base_cleanups): Correct order of base class cleanups.
Mark Mitchell [Thu, 2 May 2002 20:02:41 +0000 (20:02 +0000)] 
init.c (perform_base_cleanups): Correct order of base class cleanups.

* init.c (perform_base_cleanups): Correct order of base class
cleanups.

* g++.dg/init/dtor1.C: Make it tougher.

From-SVN: r53060

23 years agolibjava.exp (libjava_find_spec): New function.
Rainer Orth [Thu, 2 May 2002 19:10:51 +0000 (19:10 +0000)] 
libjava.exp (libjava_find_spec): New function.

* testsuite/lib/libjava.exp (libjava_find_spec): New function.
(libjava_init): Use it to find libgcj.spec.
(libjava_arguments): Likewise.

From-SVN: r53056

23 years agore PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)
David S. Miller [Thu, 2 May 2002 17:53:35 +0000 (10:53 -0700)] 
re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)

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

PR bootstrap/6525
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
__libc_sigaction on Sparc.

From-SVN: r53053

23 years ago* Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.
John David Anglin [Thu, 2 May 2002 17:32:36 +0000 (17:32 +0000)] 
* Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.

From-SVN: r53049

23 years agoPR target/6512, PR target/5628
Jakub Jelinek [Thu, 2 May 2002 09:50:52 +0000 (11:50 +0200)] 
PR target/6512, PR target/5628

PR target/6512, PR target/5628
* config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
when memory is not aligned.
(movdf_insn_v9only_vis): Likewise.
* config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
(SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.

From-SVN: r53042

23 years ago* doc/install.texi: State GNAT version requirements.
Joseph Myers [Thu, 2 May 2002 09:00:29 +0000 (10:00 +0100)] 
* doc/install.texi: State GNAT version requirements.

From-SVN: r53041

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

From-SVN: r53035

23 years agore PR c++/6527 (g++ 3.1: class member dtor order wrong (regression in past week))
Mark Mitchell [Thu, 2 May 2002 05:13:30 +0000 (05:13 +0000)] 
re PR c++/6527 (g++ 3.1: class member dtor order wrong (regression in past week))

PR c++/6527
* init.c (perform_base_cleanups): Emit cleanups in reverse order
of construction.

From-SVN: r53032

23 years agoNot a good day...
Richard Henderson [Thu, 2 May 2002 01:14:38 +0000 (18:14 -0700)] 
Not a good day...

From-SVN: r53030

23 years agopa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.
Jeff Law [Thu, 2 May 2002 00:33:08 +0000 (18:33 -0600)] 
pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.

* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
'T' constraint.

From-SVN: r53029

23 years agore PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
Benjamin Kosnik [Thu, 2 May 2002 00:29:01 +0000 (00:29 +0000)] 
re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)

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

PR libstdc++/6533
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
(istreambuf_iterator::equal): Use it.
(istreambuf_iterator::operator*): Use it.

From-SVN: r53028

23 years agostd_bitset.h: Fix doxygen comments.
Phil Edwards [Wed, 1 May 2002 22:58:59 +0000 (22:58 +0000)] 
std_bitset.h: Fix doxygen comments.

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

* include/std/std_bitset.h:  Fix doxygen comments.
* docs/html/documentation.html:  Minor tweaks for 3.1.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53026

23 years agodbxout.c (dbxout_type): Emit size information for range types, as well, but only...
Joel Brobecker [Wed, 1 May 2002 22:29:25 +0000 (22:29 +0000)] 
dbxout.c (dbxout_type): Emit size information for range types, as well, but only when using GDB extensions.

* dbxout.c (dbxout_type): Emit size information for range types,
as well, but only when using GDB extensions.

From-SVN: r53022

23 years ago* comperr.adb : Fix typo.
Geert Bosch [Wed, 1 May 2002 21:15:25 +0000 (23:15 +0200)] 
* comperr.adb : Fix typo.

From-SVN: r53020

23 years agoArg. Typo last change.
Richard Henderson [Wed, 1 May 2002 20:32:38 +0000 (13:32 -0700)] 
Arg.  Typo last change.

From-SVN: r53016

23 years agoconfigure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent...
Richard Henderson [Wed, 1 May 2002 20:31:57 +0000 (13:31 -0700)] 
configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent gnu binutils date test.

        * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
        target-independent gnu binutils date test.

From-SVN: r53015

23 years agocppinit.c (cpp_handle_option): Don't set no_output here...
Jakub Jelinek [Wed, 1 May 2002 20:04:46 +0000 (22:04 +0200)] 
cppinit.c (cpp_handle_option): Don't set no_output here...

* cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
(cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
-M -or -MM is in effect.

From-SVN: r53012

23 years agobindgen.adb (Public_Version_Warning): Remove.
Geert Bosch [Wed, 1 May 2002 19:57:06 +0000 (21:57 +0200)] 
bindgen.adb (Public_Version_Warning): Remove.

* bindgen.adb (Public_Version_Warning): Remove.

* gnatvsn.ads : Change to match GCC 3.1 version.

* comperr.adb : Change bug box, remove ACT-specific circuitry.

* comperr.ads : Update comments to reflect changed bug message.

From-SVN: r53011

23 years agoconfig.gcc: Correct test of --enable-obsolete.
Zack Weinberg [Wed, 1 May 2002 18:44:42 +0000 (18:44 +0000)] 
config.gcc: Correct test of --enable-obsolete.

* config.gcc: Correct test of --enable-obsolete.  Obsolete all
A29k configurations.
* doc/install.texi: Update to match.

From-SVN: r53010

23 years agore PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)
Franz Sirl [Wed, 1 May 2002 18:03:36 +0000 (18:03 +0000)] 
re PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)

2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR bootstrap/6514
* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
for duplicates. Always loop over whole list.

From-SVN: r53007

23 years ago* reload.c (find_reloads, case 'p'): Set BADOP to 0.
Richard Kenner [Wed, 1 May 2002 17:26:44 +0000 (17:26 +0000)] 
* reload.c (find_reloads, case 'p'): Set BADOP to 0.

From-SVN: r53004

23 years agot-elf (sparc-rtems, sparc-elf): Build assembly support routines.
Joel Sherrill [Wed, 1 May 2002 17:15:48 +0000 (17:15 +0000)] 
t-elf (sparc-rtems, sparc-elf): Build assembly support routines.

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

* config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
support routines.

From-SVN: r53002

23 years ago* error.c (dump_type): Be careful about implicit typenames.
Gabriel Dos Reis [Wed, 1 May 2002 16:29:27 +0000 (16:29 +0000)] 
* error.c (dump_type): Be careful about implicit typenames.

From-SVN: r53000

23 years agoinstall.texi: Update Texinfo version requirement documentation.
Joseph Myers [Wed, 1 May 2002 13:05:07 +0000 (14:05 +0100)] 
install.texi: Update Texinfo version requirement documentation.

* doc/install.texi: Update Texinfo version requirement
documentation.

From-SVN: r52998

23 years agore PR libstdc++/6513 (sigfaults on trivial code)
Paolo Carlini [Wed, 1 May 2002 08:57:14 +0000 (10:57 +0200)] 
re PR libstdc++/6513 (sigfaults on trivial code)

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

PR libstdc++/6513
* include/bits/stl_uninitialized.h
(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
Fix typo in 2001-07-17 commit: typedef _ValueType to
iterator_traits<_ForwardIter> not <_InputIter>.
* testsuite/23_containers/vector_ctor.cc: Add test04.

From-SVN: r52996

23 years agoFix bad regexp
Nathan Sidwell [Wed, 1 May 2002 07:34:35 +0000 (07:34 +0000)] 
Fix bad regexp

From-SVN: r52993

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

From-SVN: r52989

23 years agosol27-sld.h: Rename from sol26-sld.h.
Richard Henderson [Wed, 1 May 2002 02:47:56 +0000 (19:47 -0700)] 
sol27-sld.h: Rename from sol26-sld.h.

        * config/sparc/sol27-sld.h: Rename from sol26-sld.h.
        (PREFERRED_DEBUGGING_TYPE, ASM_DEBUG_SPEC): Undef.
        * config.gcc (sparc-solaris): Adjust test for native ld bug.
        Add it after the biarch headers.

From-SVN: r52987

23 years agotoplev.c (rest_of_compilation): Don't run cross-jump before bb-reorder.
Richard Henderson [Tue, 30 Apr 2002 23:04:54 +0000 (16:04 -0700)] 
toplev.c (rest_of_compilation): Don't run cross-jump before bb-reorder.

        * toplev.c (rest_of_compilation): Don't run cross-jump before
        bb-reorder.
* gcc.dg/20020430-1.c: New.

From-SVN: r52980

23 years agoAdd ABI change note to previous change.
David S. Miller [Tue, 30 Apr 2002 22:27:46 +0000 (15:27 -0700)] 
Add ABI change note to previous change.

From-SVN: r52978

23 years agoclass.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF...
Mark Mitchell [Tue, 30 Apr 2002 21:53:02 +0000 (21:53 +0000)] 
class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF is false or...

2002-04-30  Mark Mitchell  <mark@codesourcery.com>

* class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if
TYPE_HAS_TRIVIAL_INIT_REF is false or
TYPE_HAS_NONTRIVIAL_DESTRUCTOR is true.

From-SVN: r52975

23 years agortems-elf.h: Add #undef TARGET_VERSION to prevent warning.
Joel Sherrill [Tue, 30 Apr 2002 19:58:55 +0000 (19:58 +0000)] 
rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

2002-04-30 Joel Sherrill <joel@OARcorp.com>

* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

From-SVN: r52971

23 years agore PR c++/6492 (New boost regression (friends))
Mark Mitchell [Tue, 30 Apr 2002 19:43:56 +0000 (19:43 +0000)] 
re PR c++/6492 (New boost regression (friends))

PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

From-SVN: r52968

23 years agore PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
John David Anglin [Tue, 30 Apr 2002 19:29:24 +0000 (19:29 +0000)] 
re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)

PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

From-SVN: r52967

23 years agosparc.c (emit_soft_tfmode_libcall, [...]): New.
Richard Henderson [Tue, 30 Apr 2002 19:10:02 +0000 (12:10 -0700)] 
sparc.c (emit_soft_tfmode_libcall, [...]): New.

        * config/sparc/sparc.c (emit_soft_tfmode_libcall,
        emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
        emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
        emit_tfmode_cvt): New.
        * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
        trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
        fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
        addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r52964

23 years agostdio_filebuf.h: New file.
Benjamin Kosnik [Tue, 30 Apr 2002 19:05:47 +0000 (19:05 +0000)] 
stdio_filebuf.h: New file.

2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h: New file.
* include/ext/enc_filebuf.h: New file.
* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
* config/io/basic_file_stdio.cc: Same.
* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
Remove _M_unbuf hacks.
(filebuf::_M_destroy_internal_buffer): Same.
(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
(filebuf::fd): Remove.
* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
(filebuf::fd): Remove.
* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
filebufs.
(ios_base::_S_ios_destroy): Same.
* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
* include/Makefile.am (ext_headers): Add ext_filebuf.h,
stdio_filebuf.h.  * include/Makefile.in: Regenerate.

From-SVN: r52963

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 30 Apr 2002 19:05:47 +0000 (19:05 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52962

23 years agoconfig.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.
John David Anglin [Tue, 30 Apr 2002 19:02:22 +0000 (19:02 +0000)] 
config.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.

* config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
* ada/Make-lang.in (ADA_FLAGS_TO_PASS): Don't pass ADA_CFLAGS.
* pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
* pa/x-ada: New file.  Define ADA_CFLAGS.

From-SVN: r52960

23 years agoinstall.texi (Final install): Add to the list of info to include in a report of a...
Janis Johnson [Tue, 30 Apr 2002 18:06:53 +0000 (18:06 +0000)] 
install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap...

* doc/install.texi (Final install): Add to the list of info to include
in a report of a successful bootstrap, and add link to 3.1 list.

From-SVN: r52958

23 years agodecl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typede...
Jason Merrill [Tue, 30 Apr 2002 17:50:12 +0000 (13:50 -0400)] 
decl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typedef if...

        * decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

[[Split portion of a mixed commit.]]

From-SVN: r52955.1

23 years agore PR c++/6396 (3.1 flow.c 583 ICE with -frename-registers)
Jakub Jelinek [Tue, 30 Apr 2002 17:08:16 +0000 (19:08 +0200)] 
re PR c++/6396 (3.1 flow.c 583 ICE with -frename-registers)

PR c++/6396
* toplev.c (rest_of_compilation): Only run regrename and copy
propagation if optimizing.

From-SVN: r52952

23 years ago* parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
Paul Eggert [Tue, 30 Apr 2002 15:42:21 +0000 (15:42 +0000)] 
* parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.

From-SVN: r52947

23 years agocontrib.texi (Contributors): Use MIPS instead of Mips and mips.
Gerald Pfeifer [Tue, 30 Apr 2002 13:29:22 +0000 (15:29 +0200)] 
contrib.texi (Contributors): Use MIPS instead of Mips and mips.

* doc/contrib.texi (Contributors): Use MIPS instead of Mips and
mips.  Add two missing commas.

From-SVN: r52943

23 years agocontrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries.
Paolo Carlini [Tue, 30 Apr 2002 11:07:52 +0000 (13:07 +0200)] 
contrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries.

2002-04-30  Paolo Carlini  <pcarlini@unitus.it>

* doc/contrib.texi (Contributors): Update Paolo Carlini's
and Benjamin Kosnik's entries.

From-SVN: r52942

23 years agoparse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdc...
Paul Eggert [Tue, 30 Apr 2002 09:35:14 +0000 (09:35 +0000)] 
parse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdcl0_innards expects.

* parse.y (nomods_initdcl0): Do not move stack entries
when setting things up as initdcl0_innards expects.

From-SVN: r52940

23 years agore PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)
Benjamin Kosnik [Tue, 30 Apr 2002 09:19:28 +0000 (09:19 +0000)] 
re PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)

2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6511
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

From-SVN: r52938

23 years agore PR libstdc++/5820 (EOF not handled correctly on input)
Benjamin Kosnik [Tue, 30 Apr 2002 08:28:04 +0000 (08:28 +0000)] 
re PR libstdc++/5820 (EOF not handled correctly on input)

2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.

From-SVN: r52936

23 years agore PR libstdc++/5820 (EOF not handled correctly on input)
Benjamin Kosnik [Tue, 30 Apr 2002 08:27:20 +0000 (08:27 +0000)] 
re PR libstdc++/5820 (EOF not handled correctly on input)

2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.

From-SVN: r52935

23 years agoDaily bump.
GCC Administrator [Tue, 30 Apr 2002 07:16:21 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52929

23 years agolibstdc++-v3-dg.exp (libstdc++-v3-init): Set all of LD_LIBRARY_PATH, SHLIB_PATH,...
Rainer Orth [Tue, 30 Apr 2002 01:41:37 +0000 (01:41 +0000)] 
libstdc++-v3-dg.exp (libstdc++-v3-init): Set all of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, LD_LIBRARY64_PATH.

* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
LD_LIBRARY64_PATH.

From-SVN: r52918

23 years agocombine.c (find_split_point): Use trunc_int_for_mode.
Franz Sirl [Tue, 30 Apr 2002 00:42:48 +0000 (00:42 +0000)] 
combine.c (find_split_point): Use trunc_int_for_mode.

2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* combine.c (find_split_point): Use trunc_int_for_mode.

From-SVN: r52917

23 years agoreload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.
Richard Kenner [Mon, 29 Apr 2002 21:22:47 +0000 (21:22 +0000)] 
reload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.

* reload1.c (eliminate_regs, case SUBREG): Fix typo in
adjust_address_nv call.

From-SVN: r52912

23 years ago* MAINTAINERS: Synchronize with mainline.
Roger Sayle [Mon, 29 Apr 2002 20:44:37 +0000 (20:44 +0000)] 
* MAINTAINERS: Synchronize with mainline.

From-SVN: r52911

23 years agoinstall.texi (Testing): Provide additional information...
Janis Johnson [Mon, 29 Apr 2002 20:25:20 +0000 (20:25 +0000)] 
install.texi (Testing): Provide additional information...

* doc/install.texi (Testing): Provide additional information, and
a stronger encouragement, for running the testsuites.

From-SVN: r52909

23 years agoinclhack.def (solaris_widec): Include <wchar.h> in Solaris 2 <widec.h> if missing.
Rainer Orth [Mon, 29 Apr 2002 19:31:19 +0000 (19:31 +0000)] 
inclhack.def (solaris_widec): Include <wchar.h> in Solaris 2 <widec.h> if missing.

* fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
Solaris 2 <widec.h> if missing.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/widec.h: New file.

From-SVN: r52905

23 years agore PR target/6476 (Need configury bits to detect binutils eh_frame optimizer bugs)
Jakub Jelinek [Mon, 29 Apr 2002 15:20:53 +0000 (17:20 +0200)] 
re PR target/6476 (Need configury bits to detect binutils eh_frame optimizer bugs)

PR target/6476
* configure.in: Check whether linker eh_frame optimizations work
properly.
* configure: Rebuilt.

From-SVN: r52901

23 years ago* i386.c (dbx64_register_map): Fix typo.
Jan Hubicka [Mon, 29 Apr 2002 15:09:23 +0000 (15:09 +0000)] 
* i386.c (dbx64_register_map): Fix typo.

From-SVN: r52898

23 years ago*** empty log message ***
Jan Hubicka [Mon, 29 Apr 2002 15:07:26 +0000 (17:07 +0200)] 
*** empty log message ***

From-SVN: r52897

23 years agore PR c++/6477 (Segfault on conflicting types in trivial code)
Jakub Jelinek [Mon, 29 Apr 2002 15:05:46 +0000 (17:05 +0200)] 
re PR c++/6477 (Segfault on conflicting types in trivial code)

PR c++/6477
* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
non-NULL first.

* g++.dg/parse/typedef1.C: New test.

From-SVN: r52896

23 years agore PR c++/6492 (New boost regression (friends))
Mark Mitchell [Mon, 29 Apr 2002 14:54:52 +0000 (14:54 +0000)] 
re PR c++/6492 (New boost regression (friends))

PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.

PR c++/6486
* g++.dg/template/friend6.C: New test.

PR c++/6492
* g++.dg/init/copy1.C: New test.

From-SVN: r52894

23 years agocontrib.texi (Contributors): Add Paolo Carlini and Janis Johnson.
Gerald Pfeifer [Mon, 29 Apr 2002 13:10:06 +0000 (15:10 +0200)] 
contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson.

* doc/contrib.texi (Contributors): Add Paolo Carlini and
Janis Johnson.
Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
Refer to Objective-C instead of ObjC, SPARC instead of sparc,
and CPU instead of cpu.

From-SVN: r52892

23 years agore PR c++/5719 (Suspect gcc-3 to report wrong waring for 'T& T::operator+=( const...
Nathan Sidwell [Mon, 29 Apr 2002 08:41:44 +0000 (08:41 +0000)] 
re PR c++/5719 (Suspect gcc-3 to report wrong waring for 'T& T::operator+=( const T& )')

cp:
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
testsuite:
* g++.dg/warn/effc1.C: New test.

From-SVN: r52887

23 years agoinvoke.texi: Use @gol at ends of lines inside @gccoptlist.
Joseph Myers [Mon, 29 Apr 2002 07:58:32 +0000 (08:58 +0100)] 
invoke.texi: Use @gol at ends of lines inside @gccoptlist.

* invoke.texi: Use @gol at ends of lines inside @gccoptlist.
* g77.texi: Update last update date.

From-SVN: r52886

23 years agoconfig.gcc: Revert i386 changes inadvertently brought in from mainline along with...
Alexandre Oliva [Mon, 29 Apr 2002 07:52:06 +0000 (07:52 +0000)] 
config.gcc: Revert i386 changes inadvertently brought in from mainline along with...

* config.gcc: Revert i386 changes inadvertently brought in
from mainline along with 2002-04-04's change.

From-SVN: r52884

23 years agoDaily bump.
GCC Administrator [Mon, 29 Apr 2002 07:16:12 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r52880

23 years agoconfigure.in, configure: Fix SPARC test in previous change.
David S. Miller [Mon, 29 Apr 2002 05:47:08 +0000 (22:47 -0700)] 
configure.in, configure: Fix SPARC test in previous change.

2002-04-28  David S. Miller  <davem@redhat.com>

* configure.in, configure: Fix SPARC test in previous change.

From-SVN: r52877

23 years agore PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)
David S. Miller [Mon, 29 Apr 2002 05:26:08 +0000 (22:26 -0700)] 
re PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)

2002-04-28  David S. Miller  <davem@redhat.com>

PR target/6496
* config/sparc/sparc.md (call followed by jump peephole): Do not
match for TARGET_V9, kill TARGET_ARCH64 variants.

PR target/6500
* config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
several {reads,writes} instead.
* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
Define.

From-SVN: r52875

23 years agore PR target/6494 (sparc64-linux libjava testsuite failures)
David S. Miller [Mon, 29 Apr 2002 04:09:50 +0000 (21:09 -0700)] 
re PR target/6494 (sparc64-linux libjava testsuite failures)

2002-04-27  David S. Miller  <davem@redhat.com>

PR target/6494
* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
of the stack bias.

* config/sparc/linux.h, config/sparc/linux64.h: Don't bother
including signal.h and sys/ucontext.h, not needed.

From-SVN: r52871

23 years agospell defined "defined" instead of "procedure"
Bruce Korb [Mon, 29 Apr 2002 02:28:36 +0000 (02:28 +0000)] 
spell defined "defined" instead of "procedure"

From-SVN: r52868

23 years ago[multiple changes]
Paolo Carlini [Sun, 28 Apr 2002 22:22:57 +0000 (22:22 +0000)] 
[multiple changes]

2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/ext/hash_set.cc: New testfile.

From-SVN: r52865

23 years agore PR middle-end/5154 (GCC 3.0.2 crashes when compiling a HUGE function)
Richard Henderson [Sun, 28 Apr 2002 20:35:54 +0000 (13:35 -0700)] 
re PR middle-end/5154 (GCC 3.0.2 crashes when compiling a HUGE function)

        PR c/5154
        * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
        (ggc_mark_rtx_children): New.

From-SVN: r52862

23 years agore PR c/6497 (unrecognizable insn:l inux-2.4.19 pre7 kernel comling with gcc-3...
Franz Sirl [Sun, 28 Apr 2002 20:34:49 +0000 (20:34 +0000)] 
re PR c/6497 (unrecognizable insn:l  inux-2.4.19 pre7 kernel comling  with gcc-3.1 prerelease)

2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6497
* config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
result as temporary value.

From-SVN: r52861

23 years agoconfigure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().
Jakub Jelinek [Sun, 28 Apr 2002 20:12:04 +0000 (22:12 +0200)] 
configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().

* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
%r_disp32().
* src/sparc/v8.S: Use it.
* src/sparc/v9.S: Likewise.
* fficonfig.h.in: Rebuilt.
* configure: Rebuilt.

From-SVN: r52859

23 years agore PR rtl-optimization/6475 (zlib miscompilation with gcc-3.1)
Jakub Jelinek [Sun, 28 Apr 2002 19:43:49 +0000 (21:43 +0200)] 
re PR rtl-optimization/6475 (zlib miscompilation with gcc-3.1)

PR optimization/6475
* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
register of REGNO_DECL (i).
* Makefile.in (reload1.o): Add $(TREE_H).

* gcc.dg/20020426-2.c: New test.

From-SVN: r52854

23 years agoverify existence of set-writable before using
Bruce Korb [Sun, 28 Apr 2002 19:37:53 +0000 (19:37 +0000)] 
verify existence of set-writable before using

From-SVN: r52852

23 years agore PR c/6343 (attribute((weak)) not working on second declaration)
Franz Sirl [Sun, 28 Apr 2002 18:43:58 +0000 (18:43 +0000)] 
re PR c/6343 (attribute((weak)) not working on second declaration)

2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6343
* c-decl.c (duplicate_decls): Call merge_weak.
* c-pragma.c (apply_pragma_weak): Warn about misuse.
* output.h (merge_weak): Prototype merge_weak.
* varasm.c (merge_weak): New function.
(declare_weak): Make sure we don't give an error on VAR_DECLs.
Mark RTL with SYMBOL_REF_WEAK.

cp:
* decl.c (duplicate_decls): Call merge_weak.

testsuite:
* gcc.dg/weak-[2-7].c: New tests.

From-SVN: r52848

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 28 Apr 2002 18:43:58 +0000 (18:43 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52847

23 years ago* .cvsignore: Remove files that are present in CVS.
Mark Mitchell [Sun, 28 Apr 2002 18:42:21 +0000 (18:42 +0000)] 
* .cvsignore: Remove files that are present in CVS.

From-SVN: r52846