]>
git.ipfire.org Git - thirdparty/gcc.git/log
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
GCC Administrator [Sun, 28 Apr 2002 07:16:40 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52839
GCC Administrator [Sat, 27 Apr 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52828
Mark Mitchell [Sat, 27 Apr 2002 00:25:12 +0000 (00:25 +0000)]
re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.
From-SVN: r52823
David S. Miller [Sat, 27 Apr 2002 00:06:15 +0000 (17:06 -0700)]
re PR target/6422 (libjava failures on sparc-linux)
2002-04-25 David S. Miller <davem@redhat.com>
PR target/6422
* reorg.c (optimize_skip): Do not allow exception causing
instructions to be considered for delay slots.
(fill_simply_delay_slots, fill_slots_from_thread): Likewise.
(relax_delay_slots): Do not try to consider exception causing
instructions as redundant.
From-SVN: r52821
David S. Miller [Sat, 27 Apr 2002 00:03:03 +0000 (17:03 -0700)]
re PR target/6422 (libjava failures on sparc-linux)
2002-04-25 David S. Miller <davem@redhat.com>
PR target/6422
* include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
program counter to next program counter minus 8. Update
comments in this macro to explain why.
From-SVN: r52819
Alexandre Oliva [Fri, 26 Apr 2002 23:48:32 +0000 (23:48 +0000)]
re PR c++/6479 (access control bug)
PR c++/6497
* g++.dg/inherit/access2.C: New test.
From-SVN: r52818
No Author [Fri, 26 Apr 2002 23:48:32 +0000 (23:48 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r52817
Alexandre Oliva [Fri, 26 Apr 2002 23:46:01 +0000 (23:46 +0000)]
tree.c (tree_int_cst_lt): Compare constants whose types differ in unsigned-ness correctly.
* tree.c (tree_int_cst_lt): Compare constants whose types differ
in unsigned-ness correctly.
From-SVN: r52816
Joel Sherrill [Fri, 26 Apr 2002 21:40:53 +0000 (21:40 +0000)]
configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
2002-04-26 Joel Sherrill <joel@OARcorp.com>
* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.
From-SVN: r52811
Chris Demetriou [Fri, 26 Apr 2002 21:32:14 +0000 (21:32 +0000)]
mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to correct for MEABI (used by mipsisa32-elf).
2002-04-26 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to
correct for MEABI (used by mipsisa32-elf).
From-SVN: r52810
Mark Mitchell [Fri, 26 Apr 2002 21:26:07 +0000 (21:26 +0000)]
re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.
PR c++/6497
* method.c (do_build_assign_ref): Pass a derivation to
build_method_call when calling base class assignment operators.
PR c++/6497
* g++.dg/inherit/access2.C: New test.
PR bootstrap/6445
* gcc.dg/
20020426 -1.c: New test.
From-SVN: r52808
Alexandre Oliva [Fri, 26 Apr 2002 20:10:05 +0000 (20:10 +0000)]
* g++.dg/abi/enum1.C: New test.
From-SVN: r52806
No Author [Fri, 26 Apr 2002 20:10:05 +0000 (20:10 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r52805
Paolo Carlini [Fri, 26 Apr 2002 19:36:27 +0000 (21:36 +0200)]
basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check.
2002-04-26 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
Fix and tighten __throw_length_error check.
* testsuite/21_strings/replace.cc (test04): New.
* testsuite/21_strings/replace.cc (test02, test03): Tweak.
From-SVN: r52803
Ulrich Weigand [Fri, 26 Apr 2002 19:21:18 +0000 (19:21 +0000)]
* config/s390/linux.h: Revert 2002-04-22 change.
From-SVN: r52801
John David Anglin [Fri, 26 Apr 2002 18:40:47 +0000 (18:40 +0000)]
pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime model.
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
portable runtime model.
From-SVN: r52799
David Edelsohn [Fri, 26 Apr 2002 18:22:51 +0000 (18:22 +0000)]
rs6000.md (sCC pattern): Remove clobber and use result as temporary value.
* config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
result as temporary value.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r52798
Richard Henderson [Fri, 26 Apr 2002 18:10:32 +0000 (11:10 -0700)]
* c-common.c (combine_strings): Tweak __FUNCTION__ warning text.
From-SVN: r52796
Richard Henderson [Fri, 26 Apr 2002 17:53:35 +0000 (10:53 -0700)]
* c-common.c (combine_strings): Use xmalloc, not alloca.
From-SVN: r52795
Bo Thorsen [Fri, 26 Apr 2002 07:57:50 +0000 (07:57 +0000)]
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for x86-64.
2002-04-26 Bo Thorsen <bo@suse.co.uk>
* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
x86-64.
From-SVN: r52792
GCC Administrator [Fri, 26 Apr 2002 07:16:46 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52783
David S. Miller [Fri, 26 Apr 2002 02:04:04 +0000 (19:04 -0700)]
sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check for DECL being NULL.
2002-04-25 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
for DECL being NULL.
From-SVN: r52775
Eric Botcazou [Fri, 26 Apr 2002 00:23:32 +0000 (00:23 +0000)]
c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members.
* c-decl.c (grokdeclarator): Remove outdated ??? note
on invalid declaration of flexible array members.
From-SVN: r52773
Richard Henderson [Thu, 25 Apr 2002 22:33:21 +0000 (15:33 -0700)]
* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
From-SVN: r52770
Ulrich Weigand [Thu, 25 Apr 2002 20:06:51 +0000 (20:06 +0000)]
s390.c (s390_emit_epilogue): Always restore registers needed by the compiler...
* config/s390/s390.c (s390_emit_epilogue): Always restore registers
needed by the compiler, even if they are used as global regs.
From-SVN: r52766
Kaveh R. Ghazi [Thu, 25 Apr 2002 18:44:37 +0000 (18:44 +0000)]
20020227 -1.x: New file, xfail on 64-bit targets.
* gcc.c-torture/execute/
20020227 -1.x: New file, xfail on 64-bit
targets.
From-SVN: r52761
Steven Bosscher [Thu, 25 Apr 2002 09:34:52 +0000 (09:34 +0000)]
* doc/c-tree.texi: Fix typo in introduction.
From-SVN: r52759
GCC Administrator [Thu, 25 Apr 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52754
Richard Henderson [Thu, 25 Apr 2002 01:32:29 +0000 (18:32 -0700)]
configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12 linker bug.
* configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12
linker bug.
From-SVN: r52752
Tom Tromey [Thu, 25 Apr 2002 01:08:29 +0000 (01:08 +0000)]
For PR java/6425:
* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
EXPR_WFL_QUALIFICATION of qual_wfl.
From-SVN: r52750
Mark Mitchell [Thu, 25 Apr 2002 01:04:56 +0000 (01:04 +0000)]
mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.
2002-04-24 Mark Mitchell <mark@codesourcery.com>
* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
out an array type.
(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
to determine qualifiers.
From-SVN: r52748
Jason Merrill [Thu, 25 Apr 2002 00:14:26 +0000 (20:14 -0400)]
typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.
* typeck.c (build_modify_expr): The pedwarn for array assignment is
now unconditional.
* tree.c (build_cplus_array_type_1): Still process simple array types
normally in templates.
From-SVN: r52747
Tom Tromey [Wed, 24 Apr 2002 23:02:56 +0000 (23:02 +0000)]
natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name.
* gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
correct length of UTF-8 encoded name. Strip leading `/'.
(_Jv_RegisterResource): Use _Jv_Malloc.
From-SVN: r52743
Mark Mitchell [Wed, 24 Apr 2002 22:41:00 +0000 (22:41 +0000)]
cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs void.
* cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs
void.
From-SVN: r52741
Per Bothner [Wed, 24 Apr 2002 22:16:08 +0000 (15:16 -0700)]
expr.c (PRE_JSR): Call NOTE_LABEL for return address.
* expr.c (PRE_JSR): Call NOTE_LABEL for return address.
* java-tree.h (BCODE_RETURN_TARGET): Removed - never set.
(BCODE_TARGET): Remove BCODE_RETURN_TARGET.
From-SVN: r52736
Neil Booth [Wed, 24 Apr 2002 20:39:30 +0000 (20:39 +0000)]
* gcc.dg/cpp/ucs.c: Update as for 3.2.
From-SVN: r52729