Commit Graph

42623 Commits

Author SHA1 Message Date
Jerome Marc 16034e4ba3 natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.
2002-05-02  Jerome Marc  <marcjero@yahoo.com>

	* java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
	sys/filio.h, if present.

From-SVN: r53050
2002-05-02 17:33:59 +00:00
John David Anglin b303008e9a x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
* pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.

	* ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
	(ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
	ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.

From-SVN: r53047
2002-05-02 15:07:09 +00:00
Catherine Moore 6ed7412a29 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
From-SVN: r53046
2002-05-02 10:25:50 -04:00
Kazu Hirata b32d6163a2 A typo in my last commit.
From-SVN: r53045
2002-05-02 14:00:10 +00:00
Kazu Hirata e0a2f70599 combine.c: Fix comment formatting.
* combine.c: Fix comment formatting.
	* expr.c: Likewise.
	* genautomata.c: Likewise.
	* stmt.c: Likewise.
	* tree.h: Likewise.

From-SVN: r53044
2002-05-02 13:55:35 +00:00
Joseph Myers 38e23049b7 * doc/install.texi: State GNAT version requirements.
From-SVN: r53040
2002-05-02 09:59:10 +01:00
Nick Clifton 40f4a97d59 fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointer register which strict...
* config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame
pointer or arg pointer register which strict register checking is not enabled.

From-SVN: r53039
2002-05-02 07:55:32 +00:00
GCC Administrator fd8ec1d8b9 Daily bump.
From-SVN: r53038
2002-05-02 07:17:16 +00:00
Bruce Korb abaa8559b3 sync mainline to 3.1
From-SVN: r53034
2002-05-02 05:18:08 +00:00
Mark Mitchell 76ccdb3c4a * g++.dg/init/dtor1.C: New test.
From-SVN: r53033
2002-05-02 05:14:31 +00:00
Aldy Hernandez 0d6d689229 altivec-8.c: New.
2002-05-02  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-8.c: New.

        * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
        PRE_INC and PRE_DEC for altivec modes.

From-SVN: r53031
2002-05-02 02:03:14 +00:00
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