Commit Graph

42548 Commits

Author SHA1 Message Date
Joseph Myers
dda782545e install.texi: Update Texinfo version requirement documentation.
* doc/install.texi: Update Texinfo version requirement
	documentation.

From-SVN: r52997
2002-05-01 14:02:39 +01:00
Jakub Jelinek
26aeede496 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
2002-05-01 10:27:55 +02:00
Nathan Sidwell
2600218b4d Fix bad regexp
From-SVN: r52994
2002-05-01 07:35:19 +00:00
GCC Administrator
0fa489890f Daily bump.
From-SVN: r52992
2002-05-01 07:17:15 +00:00
Aldy Hernandez
9b7bc465c4 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
2002-05-01 06:52:30 +00:00
Paolo Carlini
072a15d99b 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
2002-05-01 02:17:35 +00:00
Aldy Hernandez
08b57fb3ab 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
2002-05-01 01:50:24 +00:00
Tom Tromey
479060323b 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
2002-04-30 23:55:57 +00:00
Richard Henderson
8e8c38cddd 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
2002-04-30 16:13:36 -07:00
Benjamin Kosnik
a125b7bc58 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
2002-04-30 22:52:39 +00:00
David S. Miller
394ab9477d Add ABI change note to previous change.
From-SVN: r52977
2002-04-30 15:27:01 -07:00
Mark Mitchell
8b16faa230 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
2002-04-30 14:53:53 -07:00
Tom Rix
4be9e9cbe4 Add sanity check to regrename.c.
From-SVN: r52974
2002-04-30 21:39:46 +00:00
Kazu Hirata
1eeeb6a437 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
2002-04-30 20:48:55 +00:00
John David Anglin
888d5eaa62 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
2002-04-30 19:50:29 +00:00
John David Anglin
ed9d6ff9f1 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
2002-04-30 19:47:38 +00:00
Hans-Peter Nilsson
1f2641b6d2 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
2002-04-30 19:18:49 +00:00
Richard Henderson
73985940ad 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
2002-04-30 12:17:07 -07:00
Benjamin Kosnik
5cdd50a591 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
2002-04-30 19:04:43 +00:00
Janis Johnson
2b46bc671e 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
2002-04-30 18:04:42 +00:00
Jason Merrill
02294ed26a 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
2002-04-30 13:50:12 -04:00
Jason Merrill
ac905924b6 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
2002-04-30 13:49:10 -04:00
Jan Hubicka
3d34cd91fa 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
2002-04-30 17:20:44 +00:00
Mark Mitchell
3e0ec82fa7 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
2002-04-30 17:00:59 +00:00
Jeffrey A Law
30482eb0de 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
2002-04-30 10:47:43 -06:00
Paul Eggert
e6e81f1c95 * parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
From-SVN: r52948
2002-04-30 12:11:44 -04:00
Jeffrey A Law
3193c41586 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
2002-04-30 09:32:10 -06:00
Vladimir Makarov
2799d721ec Fix typo in a Changelog entry title.
From-SVN: r52945
2002-04-30 14:31:31 +00:00
Gerald Pfeifer
c0a34cb782 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
2002-04-30 13:32:03 +00:00
Paolo Carlini
8bce06283e 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
2002-04-30 10:53:33 +00:00
Paul Eggert
b819d9e00b 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
2002-04-30 09:34:49 +00:00
Benjamin Kosnik
8e44e77e6a 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
2002-04-30 09:15:48 +00:00
Benjamin Kosnik
3cd870ad84 correct PR number
From-SVN: r52934
2002-04-30 07:28:20 +00:00
Benjamin Kosnik
5c352a47a6 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
2002-04-30 07:22:11 +00:00
GCC Administrator
775450350b Daily bump.
From-SVN: r52932
2002-04-30 07:17:34 +00:00
David S. Miller
84643cbf25 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
2002-04-29 21:49:45 -07:00
DJ Delorie
9e7facd645 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
2002-04-29 23:30:22 -04:00
Nathanael Nerode
aeaa0f2fc0 * configure.in: replace '[' with 'test'
From-SVN: r52925
2002-04-29 23:16:53 -04:00
Nathanael Nerode
4bb98828a0 configure.in: Eliminate references to gash.
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

From-SVN: r52924
2002-04-29 22:42:51 -04:00
Nathanael Nerode
57e0b4a8f5 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
2002-04-29 22:35:12 -04:00
Nathanael Nerode
64791664e1 * configure.in: Remove useless references to 'pic' makefile fragments.
From-SVN: r52922
2002-04-29 22:28:23 -04:00
Nathanael Nerode
3ed57cf4fd * configure.in: (*-*-windows*) Finish removing.
From-SVN: r52921
2002-04-29 22:19:45 -04:00
Nathanael Nerode
a51a07fad5 * configure.in: Eliminate redundant test for libgui.
From-SVN: r52920
2002-04-29 22:14:35 -04:00
Rainer Orth
9a3e5fd3fd 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
2002-04-30 01:45:34 +00:00
Franz Sirl
da6886f66b 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
2002-04-30 00:38:23 +00:00
Vladimir Makarov
fae15c9379 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
Merging code from dfa-branch:

From-SVN: r52915
2002-04-29 22:34:36 +00:00
Richard Kenner
a2ff290c02 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
2002-04-29 17:23:57 -04:00
Janis Johnson
f97903cc69 install.texi (Testing): Provide additional information...
* doc/install.texi (Testing): Provide additional information, and
	a stronger encouragement, for running the testsuites.

From-SVN: r52910
2002-04-29 20:27:28 +00:00
Roger Sayle
8552f6f115 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
2002-04-29 20:16:10 +00:00
DJ Delorie
f41a6bf164 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
2002-04-29 15:57:21 -04:00