Commit Graph

40887 Commits

Author SHA1 Message Date
Richard Smith 658311e053 * g++.old-deja/g++.other/thunk1.C: New test.
From-SVN: r49743
2002-02-13 20:59:37 +00:00
Benjamin Kosnik 8dba028f10 localename.cc: Remove stdexcept include.
2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>

	* src/localename.cc: Remove stdexcept include.
	* src/locale-inst.cc: Same.
	* src/locale.cc: Same.
	* src/functexcept.cc: Remove string includes.
	* include/std/std_bitset.h: Remove stdexcept include.
	* testsuite/23_containers/bitset_members.cc: Add stdexcept.

From-SVN: r49740
2002-02-13 18:29:12 +00:00
Ulrich Weigand ce50cae8cf s390.c (s390_final_chunkify): Re-run shorten_branches after emitting ltorg insns.
* config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
	after emitting ltorg insns.

	* config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
	*cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
	*muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
	*abssf2): Fix "op_type" attribute.

From-SVN: r49739
2002-02-13 17:55:02 +00:00
Jason Merrill 57d5032b06 decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
* decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (finish_function): Don't warn if current_function_returns_null.

From-SVN: r49738
2002-02-13 12:36:20 -05:00
Martin Kahlert c66b9fd97e jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly.
2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>

	* jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
	correctly.

From-SVN: r49737
2002-02-13 17:34:52 +00:00
Jason Merrill bb26522d7b * typeck2.c (digest_init): Do handle values of vector type.
From-SVN: r49736
2002-02-13 12:32:24 -05:00
Todd Stock 1eca751e4b re PR libgcj/5671 (verify.cc problem merging local variables)
2002-02-13  Todd Stock  <toddastock@yahoo.com>

	Fix for PR libgcj/5671:
	* verify.cc (state::merge): Handle case where we're merging
	against an interface.

From-SVN: r49735
2002-02-13 17:12:27 +00:00
Douglas B Rupp 2dbe67bbfa mkconfig.sh: Avoid using a subshell redirect.
* mkconfig.sh: Avoid using a subshell redirect.
	($output.T): Change to $(output)T.
	(ENABLE_NLS): Remove unneeded undef.

From-SVN: r49734
2002-02-13 10:37:41 -05:00
Douglas B Rupp ea5b9a1fd2 vms.h (MD_EXEC_PREFIX, [...]): Define.
* config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
	* config/alpha/x-vms (libsubdir): Define.

From-SVN: r49733
2002-02-13 10:32:02 -05:00
Douglas B Rupp 3deb00ce32 vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle register frame procedures.
* config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
	register frame procedures. Optimize retrieving context.

From-SVN: r49732
2002-02-13 10:19:27 -05:00
Douglas B Rupp 09eb789b6d t-vms (MULTILIB_OPTIONS): Define.
* config/alpha/t-vms (MULTILIB_OPTIONS): Define.
	(MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
	* config/alpha/vms.h (ASM_FILE_START): Write .arch directive.

From-SVN: r49731
2002-02-13 10:14:49 -05:00
Richard Kenner 1abade8571 alias.c (find_base_term, [...]): Make same change as for find_base_value.
* alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
	Make same change as for find_base_value.

From-SVN: r49730
2002-02-13 09:50:53 -05:00
Kazu Hirata c283e63fe1 h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and SImode.
* config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
	of QImode and SImode.

From-SVN: r49729
2002-02-13 13:07:48 +00:00
Kazu Hirata 8603910081 h8300.c (h8300_adjust_insn_length): Correct the length computation of movsi.
* config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
	length computation of movsi.
	* config/h8300/h8300.md (movsi_h8300hs): Correct the length.

From-SVN: r49728
2002-02-13 12:51:53 +00:00
Kazu Hirata e1429da026 h8300.md (subqi3): Tighten the predicate for operands[2] to register_operand.
* config/h8300/h8300.md (subqi3): Tighten the predicate for
	operands[2] to register_operand.

From-SVN: r49727
2002-02-13 12:42:33 +00:00
Jason Merrill ca4feb54ab typeck2.c (digest_init, [...]): Treat vectors like arrays.
* typeck2.c (digest_init, process_init_constructor): Treat vectors
        like arrays.

From-SVN: r49726
2002-02-13 07:05:01 -05:00
Jan Hubicka aebfea10be * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
From-SVN: r49725
2002-02-13 10:09:16 +00:00
GCC Administrator 8e4949e741 Daily bump.
From-SVN: r49722
2002-02-13 08:16:17 +00:00
Toon Moene 3a44d5398e data.c (ffedata_eval_offset_): Only convert index...
2002-02-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* data.c (ffedata_eval_offset_): Only convert index,
	low and high bound in data statements to default integer
	if they are constants.  Use a copy of the data structure.

From-SVN: r49721
2002-02-13 07:39:56 +00:00
Bryce McKinlay ca77b9e123 dbg_mlc.c (GC_debug_generic_malloc): Removed.
* dbg_mlc.c (GC_debug_generic_malloc): Removed.

	* sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
	preprocessor file.
	* mips_sgi_mach_dep.S: Likewise.
	* Makefile.am: Update for above changes.
	* Makefile.in: Rebuilt.

From-SVN: r49720
2002-02-13 05:38:39 +00:00
Aldy Hernandez 0ec4e2a87f rs6000.md: Use predicate altivec_register_operand for altivec_lvx* and altivec_stvx*.
2002-02-12  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md: Use predicate altivec_register_operand
        for altivec_lvx* and altivec_stvx*.
        ("*movv4si_internal"): Add constraint for loading from GPRs.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

        * config/rs6000/rs6000.c (altivec_register_operand): New.

        * config/rs6000/rs6000.h (PREDICATE_CODES): Add
        altivec_register_operand.

From-SVN: r49719
2002-02-13 04:00:27 +00:00
Hans-Peter Nilsson b007569d7c mmix.c (mmix_assemble_integer): Don't handle SYMBOL_REF.
* config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
	handle SYMBOL_REF.

From-SVN: r49718
2002-02-13 02:11:51 +00:00
Tom Tromey cf3c6c99b8 * exception.cc (std::abort): Mark as noreturn.
From-SVN: r49717
2002-02-13 00:29:42 +00:00
David Billinghurst 845d6a2f5a weak1.C: weak attributes not supported on cygwin
2002-02-12  David Billinghurst <David.Billinghurst@riotinto.com>

	* g++.dg/warn/weak1.C: weak attributes not supported on cygwin

From-SVN: r49716
2002-02-12 22:46:25 +00:00
Stan Shebs e6834654ca c-typeck.c (digest_init): Handle vectors.
* c-typeck.c (digest_init): Handle vectors.
        (really_start_incremental_init): Same.
        (pop_init_level): Same.
        (process_init_element): Same.

        * varasm.c (output_constant): Same.

        * expr.c (clear_storage): Same.
        (store_constructor): Same.

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

From-SVN: r49715
2002-02-12 22:26:12 +00:00
Eric Christopher d9b3eb63b2 explow.c (hard_function_value): Add comment explaining signed/unsigned comparison.
2002-02-12  Eric Christopher  <echristo@redhat.com>

	* explow.c (hard_function_value): Add comment explaining
	signed/unsigned comparison.

From-SVN: r49714
2002-02-12 21:55:29 +00:00
Jakub Jelinek 56d4428505 jump.c (never_reached_warning): Add finish argument.
* jump.c (never_reached_warning): Add finish argument.
	If finish is NULL, stop on CODE_LABEL, otherwise stop before first
	real insn after end.
	* rtl.h (never_reached_warning): Adjust prototype.
	* cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
	* cfgrtl.c (flow_delete_block): Pass b->end as finish to
	never_reached_warning.

	* gcc.dg/Wunreachable-1.c: New test.
	* gcc.dg/Wunreachable-2.c: New test.

From-SVN: r49713
2002-02-12 22:39:42 +01:00
Joseph Myers 34e68c86fb * gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-3.c: New tests.
From-SVN: r49712
2002-02-12 21:33:12 +00:00
Graham Stott fc209487c0 * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
From-SVN: r49711
2002-02-12 20:59:07 +00:00
Richard Henderson adb60117d7 configure.in: Re-apply 2001-06-26 configure change.
* configure.in: Re-apply 2001-06-26 configure change.
        * configure: Rebuild.

From-SVN: r49709
2002-02-12 10:40:38 -08:00
Kazu Hirata 1e41e86681 h8300.c (shift_alg_hi): Improve the 15-bit logical shifts on H8/300.
* config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
	logical shifts on H8/300.
	(shift_alg_si): Improve several shifts on H8/300.
	(get_shift_alg): Likewise.

From-SVN: r49708
2002-02-12 15:31:54 +00:00
Graham Stott a36a47ad85 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
From-SVN: r49707
2002-02-12 08:21:04 -07:00
Richard Kenner 0aacc8ed7b alias.c (find_base_value, [...]): Handle #ifdef POINTERS_EXTEND_UNSIGNED.
* alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
	Handle #ifdef POINTERS_EXTEND_UNSIGNED.

From-SVN: r49706
2002-02-12 10:18:42 -05:00
Benjamin Kosnik aa3aae06f9 decl-1.c: Add do-compile tag.
2002-02-12  Benjamin Kosnik  <bkoz@redhat.com>
	    Neil Booth  <neil.booth@bnpparibas.com>

	* gcc.dg/decl-1.c: Add do-compile tag.

From-SVN: r49705
2002-02-12 09:02:04 +00:00
GCC Administrator e77acf81cc Daily bump.
From-SVN: r49704
2002-02-12 08:17:01 +00:00
Neil Booth 3bb91036a0 * gcc.dg/decl-1.c: New test.
From-SVN: r49702
2002-02-12 07:36:38 +00:00
Adam Megacz 26e9664c30 Win32Process.java: Filled in a placeholder implementation so Win32 will build.
2002-02-12  Adam Megacz <adam@xwt.org>

        * java/lang/Win32Process.java: Filled in a placeholder
        implementation so Win32 will build.

From-SVN: r49701
2002-02-12 06:10:45 +00:00
Adam Megacz 8a434a3691 natFilePosix.cc: Copied this from natFile.cc.
2002-02-12  Adam Megacz <adam@xwt.org>

    * java/io/natFilePosix.cc: Copied this from natFile.cc.
    * java/io/natFile.cc: Removed from repository.
    * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.

From-SVN: r49700
2002-02-12 05:52:33 +00:00
Bryce McKinlay c0e4074ddd * sparc_mach_dep.S: Delete incorrectly named file.
From-SVN: r49699
2002-02-12 04:43:53 +00:00
Bryce McKinlay 79f777fd1e Imported GC 6.1 Alpha 3. Finally.
From-SVN: r49698
2002-02-12 04:37:57 +00:00
Benjamin Kosnik 005326029f stl_algo (__stl_threshold): Declare external.
2002-02-11   Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_algo (__stl_threshold): Declare external.
	(__stl_chunk_size): Same.
	* include/bits/stl_bvector.h (__WORD_BIT): Same.
	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
	(_S_rb_tree_black): Same.
	* src/stl-inst.cc (__stl_threshold): Define.
	(__stl_chunk_size): Same.
	(__WORD_BIT): Same.
	(_S_rb_tree_red): Same.
	(_S_rb_tree_black): Same.

	* config/io/basic_file_libio.h (__basic_file): Add declarations.
	* include/bits/basic_file.h: Remove.
	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
	Declare generic types, specialization.
        * config/io/basic_file_stdio.cc: Definitions.
	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
	Declare generic types.
	* include/Makefile.am (bits_headers): Remove basic_file.h.
	(extra_target_headers): Change basic_file_model.h to basic_file.h.
	(stamp-target): Same.

	* include/bits/stl_alloc.h: Tweaks.
	* include/bits/localefwd.h: Same.

From-SVN: r49697
2002-02-12 04:35:58 +00:00
Adam Megacz 1febeb40bf win32.cc: Added two #includes to make win32.cc compile.
2002-02-12  Adam Megacz <adam@xwt.org>

        * win32.cc: Added two #includes to make win32.cc compile.

From-SVN: r49696
2002-02-12 04:35:32 +00:00
Bryce McKinlay 88c38cc1b0 boehm.cc (initialized, [...]): Removed unused declarations.
* boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
	declarations.
	(_Jv_InitGC): Don't bother locking, as this is always called from a
	single-thread. Turn off GC_all_interior_pointers. Remove dead code.

From-SVN: r49695
2002-02-12 04:14:52 +00:00
David Billinghurst 036d01d034 c99-flex-array-2.c: Add -std=iso9899:1999
2002-02-12  David Billinghurst <David.Billinghurst@riotinto.com>

        * gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999

From-SVN: r49694
2002-02-12 04:09:34 +00:00
Adam Megacz b32d2321aa win32.h: Added _Jv_platform_gettimeofday.
2002-02-11  Adam Megacz <adam@xwt.org>

        * include/win32.h: Added _Jv_platform_gettimeofday.
        * win32.cc (_Jv_platform_gettimeofday): Added dummy function.

From-SVN: r49693
2002-02-12 02:25:07 +00:00
Adam Megacz 30529b03fd natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate.
2002-02-11  Adam Megacz <adam@xwt.org>

    * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
    Added #undef STRICT to make windows.h and
    java/lang/reflect/Modifier.h cooperate.

From-SVN: r49692
2002-02-12 02:17:21 +00:00
Adam Megacz 27fa520dc7 natFileWin32.cc: Created a placeholder class with lots of FIXMEs.
2002-02-11  Adam Megacz <adam@xwt.org>

        * java/io/natFileWin32.cc: Created a placeholder class with lots
        of FIXMEs.

From-SVN: r49691
2002-02-12 01:54:18 +00:00
David Billinghurst 5667c33d01 class.c (build_utf8_ref): Move declaration of decl_size
2002-02-12  David Billinghurst <Davod.Billinghurst@riotinto.com>

	* class.c(build_utf8_ref): Move declaration of decl_size

From-SVN: r49688
2002-02-11 22:53:09 +00:00
Hans-Peter Nilsson a02ac96696 mmix.c (mmix_assemble_integer): Handle non-CONST_INT through default_assemble_integer.
* config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
	non-CONST_INT through default_assemble_integer.
	<case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
	<case 8>: Abort for CONST_DOUBLE.

From-SVN: r49687
2002-02-11 22:38:30 +00:00
Adam Megacz 97cf8285dc Makefile.in: Removed libstdc++-v3 dependancy for libjava and boehm-gc
2002-02-11  Adam Megacz <adam@xwt.org>

        * gcc/Makefile.in: Removed libstdc++-v3 dependancy for libjava
        and boehm-gc

From-SVN: r49686
2002-02-11 22:32:11 +00:00