]>
git.ipfire.org Git - thirdparty/gcc.git/log
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
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
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
Richard Henderson [Fri, 3 May 2002 20:29:16 +0000 (13:29 -0700)]
New.
From-SVN: r53122
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
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
Jason Merrill [Fri, 3 May 2002 18:55:23 +0000 (14:55 -0400)]
revert reversion
From-SVN: r53112
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
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
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
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
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
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
Jakub Jelinek [Fri, 3 May 2002 14:08:33 +0000 (16:08 +0200)]
Add missing comment end.
From-SVN: r53094
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
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
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
GCC Administrator [Fri, 3 May 2002 07:16:15 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53078
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
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
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
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
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
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
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
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
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
Joseph Myers [Thu, 2 May 2002 09:00:29 +0000 (10:00 +0100)]
* doc/install.texi: State GNAT version requirements.
From-SVN: r53041
GCC Administrator [Thu, 2 May 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r53035
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
Richard Henderson [Thu, 2 May 2002 01:14:38 +0000 (18:14 -0700)]
Not a good day...
From-SVN: r53030
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
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
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
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
Geert Bosch [Wed, 1 May 2002 21:15:25 +0000 (23:15 +0200)]
* comperr.adb : Fix typo.
From-SVN: r53020
Richard Henderson [Wed, 1 May 2002 20:32:38 +0000 (13:32 -0700)]
Arg. Typo last change.
From-SVN: r53016
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
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
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
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
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
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
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
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
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
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
Nathan Sidwell [Wed, 1 May 2002 07:34:35 +0000 (07:34 +0000)]
Fix bad regexp
From-SVN: r52993
GCC Administrator [Wed, 1 May 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52989
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
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
David S. Miller [Tue, 30 Apr 2002 22:27:46 +0000 (15:27 -0700)]
Add ABI change note to previous change.
From-SVN: r52978
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
GCC Administrator [Tue, 30 Apr 2002 07:16:21 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52929
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
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
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
Roger Sayle [Mon, 29 Apr 2002 20:44:37 +0000 (20:44 +0000)]
* MAINTAINERS: Synchronize with mainline.
From-SVN: r52911
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
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
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
Jan Hubicka [Mon, 29 Apr 2002 15:09:23 +0000 (15:09 +0000)]
* i386.c (dbx64_register_map): Fix typo.
From-SVN: r52898
Jan Hubicka [Mon, 29 Apr 2002 15:07:26 +0000 (17:07 +0200)]
*** empty log message ***
From-SVN: r52897
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
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
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
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
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
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
GCC Administrator [Mon, 29 Apr 2002 07:16:12 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52880
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
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
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
Bruce Korb [Mon, 29 Apr 2002 02:28:36 +0000 (02:28 +0000)]
spell defined "defined" instead of "procedure"
From-SVN: r52868
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
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
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
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
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
Bruce Korb [Sun, 28 Apr 2002 19:37:53 +0000 (19:37 +0000)]
verify existence of set-writable before using
From-SVN: r52852
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
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
Mark Mitchell [Sun, 28 Apr 2002 18:42:21 +0000 (18:42 +0000)]
* .cvsignore: Remove files that are present in CVS.
From-SVN: r52846