Commit Graph

42562 Commits

Author SHA1 Message Date
Jeff Law
ecab2143c0 pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.
2002-05-01  Jeff Law  <law@redhat.com>

	* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
	'T' constraint.

From-SVN: r53027
2002-05-01 23:17:57 +00:00
Phil Edwards
e92a4045ac std_bitset.h: Fix doxygen comments.
2002-05-01  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Fix doxygen comments.
	* docs/html/documentation.html:  Minor tweaks for 3.1.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53025
2002-05-01 22:57:59 +00:00
Benjamin Kosnik
9875ea057d re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6533
	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
	(istreambuf_iterator::equal): Use it.
	(istreambuf_iterator::operator*): Use it.

From-SVN: r53024
2002-05-01 22:40:27 +00:00
Joel Brobecker
ea619b46b1 dbxout.c (dbxout_type): Emit size information for range types, as well, but only when using GDB extensions.
* dbxout.c (dbxout_type): Emit size information for range types,
	as well, but only when using GDB extensions.

From-SVN: r53023
2002-05-01 18:31:08 -04:00
Thomas Fitzsimmons
9a06dc7d3f configure.in (noconfigdirs): Replace [ ] with test.
* configure.in (noconfigdirs): Replace [ ] with test.

* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

From-SVN: r53021
2002-05-01 18:28:36 -04:00
Richard Henderson
c72931a655 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: r53017
2002-05-01 13:37:41 -07:00
Richard Henderson
2150ad33f2 cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging the block.
* cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
        info before expunging the block.

From-SVN: r53014
2002-05-01 13:20:19 -07:00
Jakub Jelinek
1651cc96a4 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: r53013
2002-05-01 22:07:36 +02:00
Zack Weinberg
8998d5bf40 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: r53009
2002-05-01 18:42:55 +00:00
Franz Sirl
a81eed1000 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
2002-05-01 17:56:56 +00:00
Richard Kenner
8d53318f2a * reload.c (find_reloads, case 'p'): Set BADOP to 0.
From-SVN: r53005
2002-05-01 13:33:55 -04:00
Joel Sherrill
4109b1188d 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
2002-05-01 17:17:54 +00:00
Joel Sherrill
c4a9c57081 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
2002-05-01 16:34:06 +00:00
David Edelsohn
ea112fc456 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
2002-05-01 11:33:23 -04:00
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