]>
git.ipfire.org Git - thirdparty/gcc.git/log
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
Kaveh Ghazi [Wed, 24 Apr 2002 19:31:25 +0000 (19:31 +0000)]
labels-3.x: New file, don't assemble the compiler output on mips*-*-irix*.
* gcc.c-torture/compile/labels-3.x: New file, don't assemble the
compiler output on mips*-*-irix*.
From-SVN: r52728
No Author [Wed, 24 Apr 2002 19:31:25 +0000 (19:31 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.
From-SVN: r52727
Jason Merrill [Wed, 24 Apr 2002 18:50:26 +0000 (14:50 -0400)]
dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
* dwarf2out.c (dwarf_attr_name): Support it.
(gen_array_type_die): Emit it.
(lookup_type_die): No special handling for VECTOR_TYPE.
(gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
From-SVN: r52725
Richard Henderson [Wed, 24 Apr 2002 17:40:50 +0000 (10:40 -0700)]
* config/mips/mips.md (movdi_usd): Renumber.
From-SVN: r52722
Robert Lipe [Wed, 24 Apr 2002 17:18:04 +0000 (17:18 +0000)]
* config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.
From-SVN: r52721
David S. Miller [Wed, 24 Apr 2002 16:57:15 +0000 (09:57 -0700)]
re PR target/6420 (libstdc++ failures on sparc-linux-gnu)
2002-04-24 David S. Miller <davem@redhat.com>
PR target/6420
* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
32-bit Sparc and current_function_returns_struct is true.
From-SVN: r52719
David O'Brien [Wed, 24 Apr 2002 15:05:19 +0000 (15:05 +0000)]
encoding.c (MAX, [...]): #undef before defining.
2002-04-24 David O'Brien <obrien@FreeBSD.org>
* encoding.c (MAX, MIN, ROUNDING): #undef before defining.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <
20020419 .184825.
67430590 .davem@redhat.com>
From-SVN: r52716
Aldy Hernandez [Wed, 24 Apr 2002 10:59:40 +0000 (10:59 +0000)]
altivec.h: Cleanup file.
2002-04-24 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h: Cleanup file. Add non individual
variants.
(vec_vaddubm): New.
(vec_vadduhm): New.
(vec_vadduwm): New.
(vec_vaddfp): New.
(vec_vaddcuw): New.
(vec_vaddubs): New.
(vec_vaddsbs): New.
(vec_vadduhs): New.
(vec_vadduws): New.
(vec_vaddsws): New.
(vec_vand): New.
(vec_vandc): New.
(vec_vavgub): New.
(vec_vavgsb): New.
(vec_vavguh): New.
(vec_vavgsh): New.
(vec_vavguw): New.
(vec_vavgsw): New.
(vec_vrfip): New.
(vec_vcmpbfp): New.
(vec_vcmpequb): New.
(vec_vcmpequh): New.
(vec_vcmpequw): New.
(vec_vcmpeqfp): New.
(vec_vcmpgefp): New.
(vec_vcmpgtub): New.
(vec_vcmpgtsb): New.
(vec_vcmpgtuh): New.
(vec_vcmpgtsh): New.
(vec_vcmpgtuw): New.
(vec_vcmpgtsw): New.
(vec_vcmpgtfp): New.
(vec_vcmpgefp): New.
(vec_vcfux): New.
(vec_vcfsx): New.
(vec_vctsxs): New.
(vec_vctuxs): New.
(vec_vexptefp): New.
(vec_vrfim): New.
(vec_lvx): New.
(vec_lvebx): New.
(vec_lvehx): New.
(vec_lde): Add vector float variant.
(vec_lvewx): New.
(vec_lvxl): New.
(vec_vlogefp): New.
(vec_vmaddfp): New.
(vec_vmhaddshs): New.
(vec_vmaxub): New.
(vec_vmaxsb): New.
(vec_vmaxuh): New.
(vec_vmaxsh): New.
(vec_vmaxuw): New.
(vec_vmaxsw): New.
(vec_vmaxsw): New.
(vec_vmaxfp): New.
(vec_vmrghb): New.
(vec_vmrghh): New.
(vec_vmrghw): New.
(vec_vmrglb): New.
(vec_vmrglh): New.
(vec_vmrglw): New.
(vec_vminub): New.
(vec_vminsb): New.
(vec_vminuh): New.
(vec_vminsh): New.
(vec_vminuw): New.
(vec_vminsw): New.
(vec_vminfp): New.
(vec_vmladduhm): New.
(vec_vmhraddshs): New.
(vec_msumubm): New.
(vec_vmsummbm): New.
(vec_vmsumuhm): New.
(vec_vmsumshm): New.
(vec_vmsumuhs): New.
(vec_vmsumshs): New.
(vec_vmuleub): New.
(vec_vmulesb): New.
(vec_vmuleuh): New.
(vec_vmulesh): New.
(vec_vmuloub): New.
(vec_mulosb): New.
(vec_vmulouh): New.
(vec_vmulosh): New.
(vec_vnmsubfp): New.
(vec_vnor): New.
(vec_vor): New.
(vec_vpkuhum): New.
(vec_vpkuwum): New.
(vec_vpkpx): New.
(vec_vpkuhus): New.
(vec_vpkshss): New.
(vec_vpkuwus): New.
(vec_vpkswss): New.
(vec_vpkshus): New.
(vec_vpkswus): New.
(vec_vperm): New.
(vec_vrefp): New.
(vec_vrlb): New.
(vec_vrlh): New.
(vec_vrlw): New.
(vec_vrfin): New.
(vec_vrsqrtefp): New.
(vec_vsel): New.
(vec_vslb): New.
(vec_vslh): New.
(vec_vslw): New.
(vec_vsldoi): New.
(vec_vsl): New.
(vec_vslo): New.
(vec_vspltb): New.
(vec_vsplth): New.
(vec_vspltw): New.
(vec_vspltisb): New.
(vec_vspltish): New.
(vec_vspltisw): New.
(vec_vsrb): New.
(vec_vsrh): New.
(vec_vsrw): New.
(vec_vsrab): New.
(vec_vsrah): New.
(vec_vsraw): New.
(vec_vsr): New.
(vec_vsro): New.
(vec_stvx): New.
(vec_stvebx): New.
(vec_stvehx): New.
(vec_stvewx): New.
(vec_stvxl): New.
(vec_vsububm): New.
(vec_vsubuhm): New.
(vec_vsubuwm): New.
(vec_vsubfp): New.
(vec_vsubcuw): New.
(vec_vsububs): New.
(vec_vsubsbs): New.
(vec_vsubuhs): New.
(vec_vsubshs): New.
(vec_vsubuws): New.
(vec_vsubsws): New.
(vec_vsum4ubs): New.
(vec_vsum4sbs): New.
(vec_vsum4shs): New.
(vec_vsum2sws): New.
(vec_vsumsws): New.
(vec_vrfiz): New.
(vec_vupkhsb): New.
(vec_vupkhpx): New.
(vec_vupkhsh): New.
(vec_vupklsb): New.
(vec_vupklpx): New.
(vec_vupklsh): New.
(vec_vxor): New.
From-SVN: r52713
Jason Merrill [Wed, 24 Apr 2002 10:49:56 +0000 (06:49 -0400)]
re PR c++/6331 (g++ 3.1 looses const qualifiers)
PR c++/6331
* method.c (do_build_copy_constructor): Use cp_build_qualified_type.
* typeck.c (build_modify_expr): Allow arrays to differ in cv-quals.
From-SVN: r52710
GCC Administrator [Wed, 24 Apr 2002 07:16:30 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52705
Per Bothner [Wed, 24 Apr 2002 05:12:11 +0000 (22:12 -0700)]
Fix typos for 2002-03-08 entry.
From-SVN: r52704
Loren J. Rittle [Wed, 24 Apr 2002 03:20:14 +0000 (03:20 +0000)]
std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here...
* include/std/std_fstream.h (basic_filebuf::sync): Hoist
unconditional flush on lower-layer handle to here...
* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
...from here. Optimize remaining _M_file.sync() call pattern.
* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
(test05): Likewise.
From-SVN: r52702
Adam Megacz [Wed, 24 Apr 2002 01:04:45 +0000 (01:04 +0000)]
win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.
2002-04-23 Adam Megacz <adam@xwt.org>
* win32.cc, include/win32.cc (backtrace): Added this function
because Win32 does not supply it.
From-SVN: r52700
Anthony Green [Tue, 23 Apr 2002 23:56:25 +0000 (23:56 +0000)]
Fixe rmiregistry docs
From-SVN: r52698
Jason Merrill [Tue, 23 Apr 2002 23:52:07 +0000 (19:52 -0400)]
re PR c++/6395 (gcc-3_1-branch regression for g++.old-deja/g++.jason/synth5.C)
PR c++/6395
* decl.c (make_rtl_for_nonlocal_decl): Don't mess with #pragma i/i
stuff for comdats.
From-SVN: r52697
Zack Weinberg [Tue, 23 Apr 2002 23:30:07 +0000 (23:30 +0000)]
install.texi: Clarify which versions of alpha*-dec-osf* are obsoleted.
* doc/install.texi: Clarify which versions of alpha*-dec-osf*
are obsoleted.
From-SVN: r52694
Eric Botcazou [Tue, 23 Apr 2002 23:20:05 +0000 (16:20 -0700)]
fold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from substracted literals.
* fold-const.c (split_tree): Add MINUS_LITP parameter; separate
added literals from substracted literals.
(associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
(fold) [associate]: Preserve MINUS_EXPR if needed.
* gcc.c-torture/execute/
20020423 -1.c: New.
From-SVN: r52693
Tom Tromey [Tue, 23 Apr 2002 22:55:00 +0000 (22:55 +0000)]
For PR java/6314:
* jvspec.c (lang_specific_driver): Use --resource, not -R. Also
recognize `-fcompile-resource='.
* gcj.texi (Invoking gcj): Use --resource, not -R. Expanded text
a bit.
From-SVN: r52688
Tom Tromey [Tue, 23 Apr 2002 22:53:29 +0000 (22:53 +0000)]
* gcc.c: Added --resource. For PR java/6314.
From-SVN: r52687
Jason Merrill [Tue, 23 Apr 2002 21:55:24 +0000 (17:55 -0400)]
fstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs.
* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
output-only filebufs.
* include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
Likewise.
(basic_filebuf::_M_set_determinate): Likewise.
From-SVN: r52684
Jason Merrill [Tue, 23 Apr 2002 21:51:26 +0000 (17:51 -0400)]
PR c++/5504 - but re-breaks c++/411
PR c++/5504 - but re-breaks c++/411
* init.c (push_base_cleanups): Rename to perform_base_cleanups.
Expand base cleanups now rather than pushing them.
* decl.c (begin_destructor_body): Don't call push_base_cleanups.
(finish_destructor_body): Call perform_base_cleanups.
* cp-tree.h: Adjust prototype.
From-SVN: r52683
Jason Merrill [Tue, 23 Apr 2002 21:03:00 +0000 (17:03 -0400)]
tweak ChangeLog entry
From-SVN: r52681