Franz Sirl [Wed, 1 May 2002 17:56:56 +0000 (17:56 +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: r53006
Richard Kenner [Wed, 1 May 2002 17:33:55 +0000 (17:33 +0000)]
* reload.c (find_reloads, case 'p'): Set BADOP to 0.
From-SVN: r53005
Joel Sherrill [Wed, 1 May 2002 17:17:54 +0000 (17:17 +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: r53003
Joel Sherrill [Wed, 1 May 2002 16:34:06 +0000 (16:34 +0000)]
rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
2002-05-01 Joel Sherrill <joel@OARcorp.com>
* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
From-SVN: r53001
David Edelsohn [Wed, 1 May 2002 15:33:23 +0000 (15:33 +0000)]
rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
* rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
(nabs_nopower): Same.
(floatdisf2): New pattern.
(absdi2): Convert to define_insn_and_split.
(nabsdi2): Same.
(trunctfsf2): Same.
(floatditf2): Same.
(floatsitf2): Same.
(fix_trunctfdi2): Same.
(fix_trunctfsi2): Same.
From-SVN: r52999
Joseph Myers [Wed, 1 May 2002 13:02:39 +0000 (14:02 +0100)]
install.texi: Update Texinfo version requirement documentation.
* doc/install.texi: Update Texinfo version requirement
documentation.
From-SVN: r52997
Jakub Jelinek [Wed, 1 May 2002 08:27:55 +0000 (10:27 +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: r52995
Nathan Sidwell [Wed, 1 May 2002 07:35:19 +0000 (07:35 +0000)]
Fix bad regexp
From-SVN: r52994
GCC Administrator [Wed, 1 May 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52992
Aldy Hernandez [Wed, 1 May 2002 06:52:30 +0000 (06:52 +0000)]
altivec-7.c: New.
2002-05-01 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-7.c: New.
* config/rs6000/altivec.h: Cleanup.
From-SVN: r52988
Paolo Carlini [Wed, 1 May 2002 02:17:35 +0000 (04:17 +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: r52985
Aldy Hernandez [Wed, 1 May 2002 01:50:24 +0000 (01:50 +0000)]
ldy Hernandez <aldyh@redhat.com>
* doc/invoke.texi (Option Summary): Add -mvrsave=.
(RS/6000 and PowerPC Options): Document -mvrsave=.
* config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
(rs6000_altivec_vrsave_string): Same.
(rs6000_override_options): Call rs6000_parse_vrsave_option.
(rs6000_parse_vrsave_option): New.
(rs6000_stack_info): Only generate vrsave instructions when
TARGET_ALTIVEC_VRSAVE.
* config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
(rs6000_altivec_vrsave_string): Define extern.
(rs6000_altivec_vrsave): Same.
(TARGET_ALTIVEC_VRSAVE): New.
From-SVN: r52984
Tom Tromey [Tue, 30 Apr 2002 23:55:57 +0000 (23:55 +0000)]
re PR libgcj/6301 (gij -jar does not work)
* java/io/BufferedReader.java (fill): Handle case where markPos
point to ignored \n. Fixes PR libgcj/6301.
From-SVN: r52982
Richard Henderson [Tue, 30 Apr 2002 23:13:36 +0000 (16:13 -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: r52981
Benjamin Kosnik [Tue, 30 Apr 2002 22:52:39 +0000 (22:52 +0000)]
re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
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: r52979
David S. Miller [Tue, 30 Apr 2002 22:27:01 +0000 (15:27 -0700)]
Add ABI change note to previous change.
From-SVN: r52977
Mark Mitchell [Tue, 30 Apr 2002 21:53:53 +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: r52976
Tom Rix [Tue, 30 Apr 2002 21:39:46 +0000 (21:39 +0000)]
Add sanity check to regrename.c.
From-SVN: r52974
Kazu Hirata [Tue, 30 Apr 2002 20:48:55 +0000 (20:48 +0000)]
cpplex.c: Fix comment formatting.
* cpplex.c: Fix comment formatting.
* function.c: Likewise.
* integrate.c: Likewise.
* regrename.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* tree-inline.c: Likewise.
From-SVN: r52972
John David Anglin [Tue, 30 Apr 2002 19:50:29 +0000 (19:50 +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: r52970
John David Anglin [Tue, 30 Apr 2002 19:47:38 +0000 (19:47 +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.
* pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
* pa/x-ada: New file. Define ADA_CFLAGS.
From-SVN: r52969
Hans-Peter Nilsson [Tue, 30 Apr 2002 19:18:49 +0000 (19:18 +0000)]
mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed from MMIX_LAST_REGISTER_FILE_REGNUM.
* config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
from MMIX_LAST_REGISTER_FILE_REGNUM.
(NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
(struct machine_function): New member highest_saved_stack_register
previously static variable in mmix.c.
(MACHINE_DEPENDENT_REORG): Define.
* config/mmix/mmix.c (highest_saved_stack_register): Deleted.
(MMIX_OUTPUT_REGNO): New.
(mmix_target_asm_function_prologue): Move calculation of last used
saved-stack-register into...
(mmix_machine_dependent_reorg): New function. Update to also handle
!TARGET_ABI_GNU.
(mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
register names, simplify somewhat by new variable regno.
<case 'p'>: Remove fixed FIXME. Always emit highest used saved
register.
(mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
emitting register names.
(mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
(mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
Remove fixed FIXME.
* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
Declare.
* config/mmix/mmix.md ("divmoddi4"): Update head comment.
From-SVN: r52966
Richard Henderson [Tue, 30 Apr 2002 19:17:07 +0000 (12:17 -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: r52965
Benjamin Kosnik [Tue, 30 Apr 2002 19:04:43 +0000 (19:04 +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: r52961
Janis Johnson [Tue, 30 Apr 2002 18:04:42 +0000 (18:04 +0000)]
install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap...
* 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: r52956
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.2
Jason Merrill [Tue, 30 Apr 2002 17:49:10 +0000 (13:49 -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.
From-SVN: r52954
Jan Hubicka [Tue, 30 Apr 2002 17:20:44 +0000 (19:20 +0200)]
i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
* i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
(mode): Add vector modes
(i387): Kill attribute.
(unit): New attribute.
(length_immediate): Grok new types.
(prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
(modrm): Use "unit".
(memory): Handle MMX/SSE properly.
(scheduling descriptions): Kill uses of fop1.
(sse, mmx, fp patterns): Set type and mode properly.
From-SVN: r52953
Mark Mitchell [Tue, 30 Apr 2002 17:00:59 +0000 (17:00 +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: r52951
Jeffrey A Law [Tue, 30 Apr 2002 16:47:43 +0000 (16:47 +0000)]
pa.c (override_options): Default to PA8000 scheduling.
* pa.c (override_options): Default to PA8000 scheduling.
* doc/invoke.texi (HP-PA options): Mention newly added 7300
scheduling parameter.
From-SVN: r52950
Paul Eggert [Tue, 30 Apr 2002 16:11:44 +0000 (16:11 +0000)]
* parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
From-SVN: r52948
Jeffrey A Law [Tue, 30 Apr 2002 15:32:10 +0000 (15:32 +0000)]
pa.md (7100lc, [...]): Slightly refine handling of double precision multiplies.
* pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
handling of double precision multiplies.
* pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
fpdiv and fpsqrt instructions.
(7200 & 7300 scheduling): Fix typo in handling of
store-load and store-store penalties.
From-SVN: r52946
Vladimir Makarov [Tue, 30 Apr 2002 14:31:31 +0000 (14:31 +0000)]
Fix typo in a Changelog entry title.
From-SVN: r52945
Gerald Pfeifer [Tue, 30 Apr 2002 13:32:03 +0000 (15:32 +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: r52944
Paolo Carlini [Tue, 30 Apr 2002 10:53:33 +0000 (12:53 +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: r52941
Paul Eggert [Tue, 30 Apr 2002 09:34:49 +0000 (09:34 +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: r52939
Benjamin Kosnik [Tue, 30 Apr 2002 09:15:48 +0000 (09:15 +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: r52937
Benjamin Kosnik [Tue, 30 Apr 2002 07:28:20 +0000 (07:28 +0000)]
correct PR number
From-SVN: r52934
Benjamin Kosnik [Tue, 30 Apr 2002 07:22:11 +0000 (07:22 +0000)]
re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))
2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/5280
* 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: r52933
GCC Administrator [Tue, 30 Apr 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52932
David S. Miller [Tue, 30 Apr 2002 04:49:45 +0000 (21:49 -0700)]
sparc.h (BRANCH_COST, [...]): Tune for UltraSPARC-III.
2002-04-29 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
* config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
* config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
From-SVN: r52928
DJ Delorie [Tue, 30 Apr 2002 03:30:22 +0000 (23:30 -0400)]
mh-cxux: remove dead code
* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file
From-SVN: r52926
Nathanael Nerode [Tue, 30 Apr 2002 03:16:53 +0000 (03:16 +0000)]
* configure.in: replace '[' with 'test'
From-SVN: r52925
Nathanael Nerode [Tue, 30 Apr 2002 02:42:51 +0000 (02:42 +0000)]
configure.in: Eliminate references to gash.
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.
From-SVN: r52924
Nathanael Nerode [Tue, 30 Apr 2002 02:35:12 +0000 (02:35 +0000)]
configure.in: Remove useless references to 'pic' makefile fragments.
* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.
From-SVN: r52923
Nathanael Nerode [Tue, 30 Apr 2002 02:28:23 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.
From-SVN: r52922
Nathanael Nerode [Tue, 30 Apr 2002 02:19:45 +0000 (02:19 +0000)]
* configure.in: (*-*-windows*) Finish removing.
From-SVN: r52921
Nathanael Nerode [Tue, 30 Apr 2002 02:14:35 +0000 (02:14 +0000)]
* configure.in: Eliminate redundant test for libgui.
From-SVN: r52920
Rainer Orth [Tue, 30 Apr 2002 01:45:34 +0000 (01:45 +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: r52919
Franz Sirl [Tue, 30 Apr 2002 00:38:23 +0000 (00:38 +0000)]
combine.c (find_split_point): Use gen_int_mode.
2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* combine.c (find_split_point): Use gen_int_mode.
From-SVN: r52916
Vladimir Makarov [Mon, 29 Apr 2002 22:34:36 +0000 (22:34 +0000)]
2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
Merging code from dfa-branch:
From-SVN: r52915
Richard Kenner [Mon, 29 Apr 2002 21:23:57 +0000 (21:23 +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: r52914
Janis Johnson [Mon, 29 Apr 2002 20:27:28 +0000 (20:27 +0000)]
install.texi (Testing): Provide additional information...
* doc/install.texi (Testing): Provide additional information, and
a stronger encouragement, for running the testsuites.
From-SVN: r52910
Roger Sayle [Mon, 29 Apr 2002 20:16:10 +0000 (20:16 +0000)]
MAINTAINERS: Add self and realphabetize.
* MAINTAINERS: Add self and realphabetize. Update entries
for Dan Berlin, Chris Demetriou and Michael Matz. Remove
entry for a29k port maintainer.
From-SVN: r52908
DJ Delorie [Mon, 29 Apr 2002 19:57:21 +0000 (15:57 -0400)]
mips.c (mips_parse_cpu): Warn if the CPU name is given in upper case.
* config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
given in upper case.
From-SVN: r52907
Rainer Orth [Mon, 29 Apr 2002 19:42:41 +0000 (19:42 +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: r52906
Nick Clifton [Mon, 29 Apr 2002 19:07:13 +0000 (19:07 +0000)]
toplev.c (f_options): Add "profile" switch so that -fno-profile can be used to disable -p.
* toplev.c (f_options): Add "profile" switch so that
-fno-profile can be used to disable -p.
From-SVN: r52904
Bernd Schmidt [Mon, 29 Apr 2002 18:40:47 +0000 (18:40 +0000)]
Initial P4 SSE2 builtin support
From-SVN: r52903
Jakub Jelinek [Mon, 29 Apr 2002 15:11:36 +0000 (17:11 +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: r52900
Jan Hubicka [Mon, 29 Apr 2002 15:09:58 +0000 (17:09 +0200)]
* i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
From-SVN: r52899
Mark Mitchell [Mon, 29 Apr 2002 14:56:24 +0000 (14:56 +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: r52895
Gerald Pfeifer [Mon, 29 Apr 2002 13:13:08 +0000 (15:13 +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: r52893
Jan Hubicka [Mon, 29 Apr 2002 11:39:31 +0000 (13:39 +0200)]
toplev.c (flag_if_conversion, [...]): New static variables.
* toplev.c (flag_if_conversion, flag_if_conversion2): New static
variables.
(lang_independent_options): Add -fif-conversion, -fif-conversion2
(rest_of_compilation): Do if conversion only when asked for.
(parse_options_and_default_flags): Set new variables to 1 for -O1
* invoke.texi (-fif-conversion, -fif-conversion2): Document.
From-SVN: r52891
Jan Hubicka [Mon, 29 Apr 2002 11:04:18 +0000 (13:04 +0200)]
* i386.c (dbx64_register_map): Fix typo.
From-SVN: r52890
Jan Hubicka [Mon, 29 Apr 2002 10:19:56 +0000 (12:19 +0200)]
predict.c (real_zero, [...]): New static variables.
* predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
real_one_half, real_bb_freq_max): New static variables.
(debug_profile_bbauxs): Kill.
(process_note_predictions): Kill unused variable.
(block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
volatile double.
(propagate_freq): Use REAL_ARITHMETICS.
(estimate_bb_frequencies): Likevise; init new static variables.
* Makefile.in (predict.o): Add dependency on real.h
From-SVN: r52889
Nathan Sidwell [Mon, 29 Apr 2002 08:47:31 +0000 (08:47 +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: r52888
Joseph Myers [Mon, 29 Apr 2002 07:57:20 +0000 (08:57 +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: r52885
GCC Administrator [Mon, 29 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52883
Benjamin Kosnik [Mon, 29 Apr 2002 07:00:50 +0000 (07:00 +0000)]
re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))
2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/5280
* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
(__basic_file::sys_ungetc): Take int.
* config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Use sys_getc for unbuffered input.
* testsuite/27_io/narrow_stream_objects.cc (test06): New.
* src/ios.cc (_M_grow_words): Adjust error checking.
* testsuite/27_io/ios_base_storage.cc: Same.
From-SVN: r52879
David S. Miller [Mon, 29 Apr 2002 05:48:05 +0000 (22:48 -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: r52878
David S. Miller [Mon, 29 Apr 2002 05:33:00 +0000 (22:33 -0700)]
re PR target/6500 (Sparc.md's prefetch is buggy)
2002-04-28 David S. Miller <davem@redhat.com>
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: r52876
Gerhard Tonn [Mon, 29 Apr 2002 04:15:57 +0000 (04:15 +0000)]
ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
* java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
From-SVN: r52874
Gerhard Tonn [Mon, 29 Apr 2002 04:14:44 +0000 (04:14 +0000)]
Makefile.am: Add Linux for S/390 support.
2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
* Makefile.am: Add Linux for S/390 support.
* Makefile.in: Regenerate.
* configure.in: Add Linux for S/390 support.
* configure: Regenerate.
* include/ffi.h.in: Add Linux for S/390 support.
* src/s390/ffi.c: New file from libffi CVS tree.
* src/s390/sysv.S: New file from libffi CVS tree.
From-SVN: r52873
David S. Miller [Mon, 29 Apr 2002 04:12:02 +0000 (21:12 -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: r52872
Hans-Peter Nilsson [Mon, 29 Apr 2002 03:57:30 +0000 (03:57 +0000)]
varasm.c (output_constant_def): Correct test for not calling ENCODE_SECTION_INFO for INTEGER_CST.
* varasm.c (output_constant_def): Correct test for not calling
ENCODE_SECTION_INFO for INTEGER_CST.
From-SVN: r52870
Adam King [Mon, 29 Apr 2002 03:54:50 +0000 (03:54 +0000)]
natFileDescriptorWin32.cc (open): Move file pointer to end of file in APPEND mode.
2002-04-29 Adam King <aking@dreammechanics.com>
* java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
of file in APPEND mode.
From-SVN: r52869
Neil Booth [Sun, 28 Apr 2002 23:14:56 +0000 (23:14 +0000)]
cppexp.c (lex): Move some code to _cpp_parse_expr, but keep most cases as function eval_token.
* cppexp.c (lex): Move some code to _cpp_parse_expr, but
keep most cases as function eval_token.
(eval_token): New function.
(_cpp_parse_expr): Read token here for improved diagnostics.
Don't use op_as_text. Detect bad ':' here.
(reduce): Don't detect bad ':' here.
(op_as_text): Remove.
* cpphash.h (_cpp_test_assertion): Change prototype.
* cpplib.c (_cpp_test_assertion): Change prototype.
testsuite:
* gcc.dg/cpp/if-cexp.c: Add a test.
From-SVN: r52866
Richard Henderson [Sun, 28 Apr 2002 20:40:39 +0000 (13:40 -0700)]
ggc-common.c (ggc_mark_rtx_children_1): Rename from...
* ggc-common.c (ggc_mark_rtx_children_1): Rename from...
(ggc_mark_rtx_children): New.
From-SVN: r52864
Jakub Jelinek [Sun, 28 Apr 2002 20:37:05 +0000 (22:37 +0200)]
re PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)
PR target/6496
* config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
after call peepholes for UltraSPARC.
(call + jump 64-bit peepholes): Remove.
From-SVN: r52863
Franz Sirl [Sun, 28 Apr 2002 20:26:57 +0000 (20:26 +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: r52860
Jakub Jelinek [Sun, 28 Apr 2002 19:57:42 +0000 (21:57 +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: r52858
Jakub Jelinek [Sun, 28 Apr 2002 19:52:33 +0000 (21:52 +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: r52857
Jakub Jelinek [Sun, 28 Apr 2002 19:48:10 +0000 (21:48 +0200)]
Argh, lost closing brace.
From-SVN: r52856
Jakub Jelinek [Sun, 28 Apr 2002 19:47:12 +0000 (21:47 +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: r52855
Neil Booth [Sun, 28 Apr 2002 19:42:54 +0000 (19:42 +0000)]
cppexp.c (lex): Update to use state.skip_eval.
* cppexp.c (lex): Update to use state.skip_eval.
(struct op): Remove prio and flags members.
(FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
(LEFT_ASSOC): New macro.
(optab): New table of operator priorities and flags.
(SHIFT): Update.
(_cpp_parse_expr): Clean up logic. Return bool. Use a
malloc-ed parser stack.
(reduce): New; reduce the operator stack.
(_cpp_expand_op_stack): Expand the operator stack as necessary.
* cpphash.h (struct op): Predeclare.
(struct cpp_reader): New members op_stack, op_limit.
(struct lexer_state): New member skip_eval.
(_cpp_parse_expr): Update.
(_cpp_expand_op_stack): New.
* cpplib.c (do_if): Update.
* cppinit.c (cpp_create_reader): Create op stack.
(cpp_destroy): And destroy it.
* cpplib.h (CPP_LAST_CPP_OP): Correct.
(TTYPE_TABLE): Correct.
testsuite:
* gcc.dg/cpp/if-mop.c: Update.
* gcc.dg/cpp/if-mpar.c: Add test.
* gcc.dg/cpp/if-oppr.c: Update.
From-SVN: r52853
Mark Mitchell [Sun, 28 Apr 2002 18:41:51 +0000 (18:41 +0000)]
* .cvsignore: Remove files that are present in CVS.
From-SVN: r52845
Franz Sirl [Sun, 28 Apr 2002 18:31:34 +0000 (18:31 +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: r52844
Paolo Carlini [Sun, 28 Apr 2002 16:21:32 +0000 (16:21 +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: r52843
GCC Administrator [Sun, 28 Apr 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52842
Benjamin Kosnik [Sun, 28 Apr 2002 00:42:12 +0000 (00:42 +0000)]
os_defines.h: Remove _G_USING_THUNKS.
2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
_G_USING_THUNKS.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
From-SVN: r52838
Tom Tromey [Sat, 27 Apr 2002 20:31:42 +0000 (20:31 +0000)]
For PR java/6382:
* parse.y (string_convert_int_cst): New function.
(merge_string_cste): Use it.
From-SVN: r52835
Kurt Garloff [Sat, 27 Apr 2002 18:59:40 +0000 (11:59 -0700)]
tree-inline.c (inlinable_function_p): Improve heuristics by using a smoother function to cut down allowable inlinable...
* tree-inline.c (inlinable_function_p): Improve heuristics
by using a smoother function to cut down allowable inlinable size.
* param.def: Add parameters max-inline-insns-single,
max-inline-slope, min-inline-insns that determine the exact
shape of the above function.
* param.h: Likewise.
From-SVN: r52832
GCC Administrator [Sat, 27 Apr 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52831
Richard Henderson [Sat, 27 Apr 2002 06:53:07 +0000 (23:53 -0700)]
c-parse.in (malloced_yyss, [...]): New.
* c-parse.in (malloced_yyss, malloced_yyvs): New.
(yyoverflow): Re-add. Set them.
(free_parser_stacks): New.
* c-common.h: Declare it.
* c-lex.c (c_common_parse_file): Call it.
* parse.y (malloced_yyss, malloced_yyvs): New.
(yyoverflow): Re-add. Set them.
(free_parser_stacks): New.
From-SVN: r52827
Richard Henderson [Sat, 27 Apr 2002 06:41:38 +0000 (23:41 -0700)]
cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn for fallthru search.
* cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
for fallthru search.
From-SVN: r52826
Eric Christopher [Sat, 27 Apr 2002 02:33:37 +0000 (02:33 +0000)]
re PR rtl-optimization/3700 (ISSUE_RATE not defined for mips target)
2002-04-26 Eric Christopher <echristo@redhat.com>
PR optimization/3700
* config/mips/mips.c (mips_issue_rate): Define. New function.
(TARGET_SCHED_ISSUE_RATE): Use.
From-SVN: r52825
Mark Mitchell [Sat, 27 Apr 2002 00:26:36 +0000 (00: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.
From-SVN: r52824
David S. Miller [Sat, 27 Apr 2002 00:07:16 +0000 (17:07 -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: r52822
David S. Miller [Sat, 27 Apr 2002 00:04:14 +0000 (17:04 -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: r52820
Alexandre Oliva [Fri, 26 Apr 2002 23:44:46 +0000 (23:44 +0000)]
* gcc.dg/enum1.c: New test.
From-SVN: r52815