Commit Graph

41997 Commits

Author SHA1 Message Date
Benjamin Kosnik
a9bb75a7e0 As per DR 184, libstdc++/3139
2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>

        As per DR 184, libstdc++/3139
        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
        (numeric_limits<bool>::is_iec559): False.
        (numeric_limits<bool>::is_modulo): False.

	* testsuite/27_io/ios_init.cc: Add instantiations.

From-SVN: r51838
2002-04-04 05:32:59 +00:00
John David Anglin
823fbbce5c pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
* pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
	(DWARF_FRAME_RETURN_COLUMN): Move.
	(ASM_PREFERRED_EH_DATA_FORMAT): Define.
	(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
	* pa.c (except.h, predict.h): Include.
	(FRP): Delete.
	(store_reg_modify, set_reg_plus_d): Revise prototypes.
	(output_ascii): Add cast.
	(store_reg_modify): Revise to add frame notes.
	(set_reg_plus_d): Likewise.
	(compute_frame_size): Include space for eh data registers in frame if
	the current function calls eh_return.
	(hppa_expand_prologue):  Ensure register %r2 is saved if the current
	function calls eh_return.  Save eh data registers if the current
	function calls eh_return.  Fix code to add frame notes.  Emit
	blockage to prevent insns with frame notes being scheduled in the
	delay slot of calls.
	(hppa_expand_epilogue): Restore eh data registers and do final stack
	adjustment if the current function calls eh_return.  Don't add frame
	notes.
	(output_call): Revise for change in length of call insn.  Don't do
	return pointer adjustment for an unconditional jump in the delay slot
	of a call when using frame notes.
	* pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
	(EH_RETURN_HANDLER_RTX): Use saved value on stack.
	(ARG_POINTER_CFA_OFFSET): Define.
	* pa.md (return_external_pic): New pattern.
	(prologue): Correct formatting.  Use return_external_pic if current
	function calls eh_return.
	(call_internal_symref, call_value_internal_symref,
	sibcall_internal_symref, sibcall_value_internal_symref): Change default
	lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
	respectively.
	(exception_receiver): Use hppa_pic_save_rtx () to restore pic register.

	* configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
	list of targets to check using "nop" insn.
	* configure: Rebuilt.

From-SVN: r51836
2002-04-04 02:48:18 +00:00
Alan Modra
4078e2240c * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
From-SVN: r51835
2002-04-04 12:08:46 +09:30
David S. Miller
bbd7687d3e gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker.
2002-04-03  David S. Miller  <davem@redhat.com>

	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
	library sequence passed to the linker.
	(LINK_COMMAND_SPEC): Use it.
	* doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
	a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
	* config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

From-SVN: r51834
2002-04-03 17:15:40 -08:00
Jason Merrill
eb81f6ff28 re PR c++/5118 (c4x-g++ Fails on Templates)
PR c++/5118
        * class.c (get_vfield_name): Use the constructor_name.

From-SVN: r51830
2002-04-03 19:39:22 -05:00
Kaveh R. Ghazi
71fad6149e linkage.exp: Update last change to handle sparc*-, not just sparc-.
* gcc.misc-tests/linkage.exp: Update last change to handle
	sparc*-, not just sparc-.

From-SVN: r51828
2002-04-04 00:18:02 +00:00
Jason Merrill
659e5a7aa9 re PR c++/5636 (gcc-3.0.3, memory leakage: function that take a string as parameter will not call local variable destructors if exception is thrown.)
PR c++/5636
        * tree.h (CLEANUP_EH_ONLY): New macro.
        * stmt.c (expand_decl_cleanup_eh): New fn.
        (expand_cleanups): Check CLEANUP_EH_ONLY.
        * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
        Use expand_decl_cleanup_eh.
        (expand_stmt): Adjust.
        * c-common.h: Adjust prototype.
        * cp/semantics.c (nullify_returns_r): Just set CLEANUP_EH_ONLY on
        cleanup for nrv.

        * except.c (struct eh_status): Remove protect_list.
        (begin_protect_partials, end_protect_partials): Remove.
        (add_partial_entry): Remove.
        * except.h: Remove prototypes.

        * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
        expand_decl_cleanup_eh.

cp/:
        * semantics.c (finish_eh_cleanup): New fn.
        * cp-tree.h: Add prototype.
        * init.c (perform_member_init, expand_cleanup_for_base): Use
        finish_eh_cleanup.
        * cp-tree.def (SUBOBJECT, CTOR_STMT): Remove.
        * cp-tree.h: Remove references.
        * decl.c (begin_constructor_body, end_constructor_body): Likewise.
        * dump.c (cp_dump_tree): Likewise.
        * pt.c (tsubst_expr): Likewise.
        * semantics.c (genrtl_ctor_stmt, genrtl_subobject): Remove.
        (cp_expand_stmt): Remove handling of CTOR_STMT and SUBOBJECT.
        * tree.c (cp_statement_code_p): Likewise.

        * init.c (build_new_1): Set CLEANUP_EH_ONLY on deleting cleanup.

From-SVN: r51827
2002-04-03 19:11:00 -05:00
Hans-Peter Nilsson
053d3344d4 cris.c (cris_target_asm_function_prologue): Cast uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
* config/cris/cris.c (cris_target_asm_function_prologue): Cast
	uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
	(cris_target_asm_function_epilogue): Ditto.
	(cris_initial_frame_pointer_offset): Ditto.
	(cris_simple_epilogue): Ditto.
	(cris_expand_builtin_va_arg): Variable-size types come in
	by-reference.

From-SVN: r51825
2002-04-03 23:55:22 +00:00
David S. Miller
61ab526023 crtfastmath.c (FPRS_NS): Get it right for little-endian.
2002-04-03  David S. Miller  <davem@redhat.com>

* config/sparc/crtfastmath.c (FPRS_NS): Get it right for
little-endian.
(set_fast_math): Correct 'fsr' type.

From-SVN: r51824
2002-04-03 15:48:39 -08:00
Jason Merrill
dffa4176ae re PR c++/5104 (template using std::set_terminate fails due to throw() qualifier in <exception>)
PR c++/5104
        * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception
        specifiers.
        [METHOD_TYPE]: Use same code as FUNCTION_TYPE.

From-SVN: r51821
2002-04-03 18:43:35 -05:00
Richard Henderson
36c2272c90 Oops, wrong pr number.
From-SVN: r51820
2002-04-03 14:41:22 -08:00
Jason Merrill
9ba81eaafa fix comment
From-SVN: r51819
2002-04-03 17:40:50 -05:00
Richard Henderson
ef4f94ac97 re PR rtl-optimization/4330 (Optimizer generates illegal assembly code)
PR opt/4330
        * langhooks.h (lang_hooks.decls.warn_unused_global): New.
        * toplev.c (check_global_declarations): Use it.
        * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
        (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
        (LANG_HOOKS_DECLS): Add it.
        * langhooks.c (lhd_warn_unused_global_decl): New.
        * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
        * c-objc-common.c (c_warn_unused_global_decl): New.
        * c-tree.h (c_warn_unused_global_decl): Declare.
        * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.

        * cp-lang.c (cxx_warn_unused_global_decl): New.
        (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.

	* g++.dg/warn/Wunused-2.C: New.
	* gcc.dg/unused-4.c: New.

From-SVN: r51818
2002-04-03 14:39:51 -08:00
Neil Booth
599bba86df langhooks-def.h (lhd_set_decl_assembler_name, [...]): New.
* langhooks-def.h (lhd_set_decl_assembler_name,
	LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
	(LANG_HOOKS_INITIALIZER): Update.
	* langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
	* langhooks.h (struct lang_hooks): New hook.
	* tree.c (set_decl_assembler_name): Move to langhooks.c.
	(lang_set_decl_assembler_name): Remove.
	(init_obstacks): Don't set hook.
	(decl_assembler_name): New function.
	* tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
	(decl_assembler_name): New.
	(lang_set_decl_assembler_name): Remove.
cp:
	* cp-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Redefine.
	* tree.c (init_tree): Don't set hook.

From-SVN: r51817
2002-04-03 22:26:37 +00:00
Jakub Jelinek
cf7b8b0dc4 configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() works properly with .hidden symbols.
* configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
	works properly with .hidden symbols.
	* configure: Rebuilt.
	* config.in: Rebuilt.
	* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
	DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
	properly with .hidden symbols.

From-SVN: r51816
2002-04-04 00:21:12 +02:00
Richard Henderson
9d7013b8ac * gcc.dg/cpp/ucs.c: Improved long UCS test.
From-SVN: r51815
2002-04-03 21:59:03 +00:00
Jakub Jelinek
faf6db38a4 re PR middle-end/6102 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure on gcc.dg/20020201-4.c)
PR middle-end/6102
	* df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
	USE argument.

From-SVN: r51813
2002-04-03 23:35:46 +02:00
Roger Sayle
cba2004a90 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (duplicate_decls): Don't mess with assembler names when
	redeclaring builtin functions as static.

From-SVN: r51812
2002-04-03 21:29:26 +00:00
David S. Miller
a261e0cc7b crtfastmath.c: New file.
2002-04-03  David S. Miller  <davem@redhat.com>

	* config/sparc/crtfastmath.c: New file.
	* config/sparc/t-crtfm: New file.
	* config/sparc/linux.h (ENDFILE_SPEC): Use crtfastmath.o
	* config/sparc/linux64.h (ENDFILE_SPEC): Likewise.
	* config/sparc/sol2.h (ENDFILE_SPEC): Likewise.
	* config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise.
	* config/sparc/elf.h (ENDFILE_SPEC): Likewise.
	* config.gcc (sparc*-*-{elf*,linux*,solaris2*}): Add
	sparc/t-crtfm to tmake_file.

	* config/sparc/sparc-protos.h (sparc_emitting_epilogue): Add.

From-SVN: r51808
2002-04-03 12:13:50 -08:00
Richard Henderson
68c17f3046 sched-rgn.c (sets_likely_spilled): New.
* sched-rgn.c (sets_likely_spilled): New.
        (sets_likely_spilled_1): New.
        (add_branch_dependences): Use it.

From-SVN: r51806
2002-04-03 09:54:04 -08:00
Hans-Peter Nilsson
9390eb1651 * gcc.dg/wchar_t-1.c, gcc.dg/wchar_t-1.c: Fix typo last change.
From-SVN: r51804
2002-04-03 12:08:47 +00:00
GCC Administrator
13f39b6ddf Daily bump.
From-SVN: r51802
2002-04-03 08:17:15 +00:00
Richard Henderson
6584b4aa8b re PR rtl-optimization/4311 (unrolling loops creates non-ending loop)
PR opt/4311
        * loop.h (LOOP_FIRST_PASS): New.
        * loop.c (strength_reduce): Mind it when deciding to unroll.
        * toplev.c (rest_of_compilation): Set it.

From-SVN: r51798
2002-04-02 23:56:47 -08:00
David S. Miller
0acf409fdc sparc.md (ldd peephole2s): Fix final arg to mems_ok_for_ldd_peep when the order of the loads being...
2002-04-02  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (ldd peephole2s): Fix final arg to
	mems_ok_for_ldd_peep when the order of the loads being examined
	is reversed.
	* config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
	existing comment to increase comprehension of this situation.

From-SVN: r51796
2002-04-02 22:31:45 -08:00
Zack Weinberg
856544448e * config/sh/sh.md: Don't use union real_extract.
From-SVN: r51794
2002-04-03 05:34:46 +00:00
Richard Henderson
543828cab1 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
From-SVN: r51792
2002-04-02 20:19:56 -08:00
David O'Brien
39ed301b58 config.gcc (i386-dg-dgux, [...]): Include as many configury headers via tm_file as possible.
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
	i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
	i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
	i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
	i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
	i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
	i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
	i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
	i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
	i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
	i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
	i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
	i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
	i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
	Include as many configury headers via tm_file as possible.  This
	includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
	* config/openbsd-oldgas.h: New file.
	* config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
	config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
	config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
	config/i386/i386-coff.h, config/i386/i386-interix.h,
	config/i386/iscdbx.h, config/i386/linux-aout.h,
	config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
	config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
	config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
	config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
	config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
	config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
	config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
	config/i386/vxi386.h: Do not directly include configury headers.
	* config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
	Directly include configury headers that are no longer automatically
	included by the above headers.
	* config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
	* config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
	config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
	config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
	config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
	config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
	config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
	(TARGET_VERSION): Define.
	* config/i386/beos-elf.h, config/i386/freebsd.h,
	config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
	config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
	config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
	config/i386/sco5.h, config/i386/sysv4.h
	(TARGET_VERSION): Do not need to protect.
	* config/i386/freebsd64.h (TARGET_VERSION): Fix style.
	* config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
	config/i386/freebsd-aout.h, config/i386/i386-aout.h,
	config/i386/i386-interix.h, config/i386/linux-aout.h,
	config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
	config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
	(YES_UNDERSCORES): Do not define - not needed.
	* config/i386/bsd.h, config/i386/gas.h (LPREFIX,
	ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
	USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
	* config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
	(LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
	USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
	* config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
	* config/i386/isccoff.h, config/i386/v3gas.h: Remove.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020402190415.D29320@redhat.com>

From-SVN: r51791
2002-04-03 03:49:19 +00:00
Eric Botcazou
9432c136e5 function.c (assign_temp): Accept either type or decl argument.
* function.c (assign_temp): Accept either type or decl argument.
        Detect variables whose size is too large to fit into an integer.
        * stmt.c (expand_decl): Pass the decl, not the type.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51788
2002-04-02 19:41:40 -08:00
David O'Brien
058b12757e protoize.c: Match include directory usage with cppdefault.c.
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
	* protoize.c: Match include directory usage with cppdefault.c.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020329131400.C19829@redhat.com>

From-SVN: r51787
2002-04-03 03:40:56 +00:00
Jeff Law
5add6d1a6d combine.c (simplify_comparison): Avoid narrowing a comparison with a paradoxical subreg when...
* combine.c (simplify_comparison): Avoid narrowing a comparison
	with a paradoxical subreg when doing so would drop signficant bits.

Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com>

From-SVN: r51785
2002-04-03 03:21:29 +00:00
David S. Miller
2e839a04cf 20020402-3.c: New test.
2002-04-02  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020402-3.c: New test.

From-SVN: r51781
2002-04-02 18:39:18 -08:00
Steve Ellcey
1e533e4b01 builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode if POINTERS_EXTEND_UNSIGNED is defined.
* builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
        if POINTERS_EXTEND_UNSIGNED is defined.

From-SVN: r51778
2002-04-02 18:33:07 -08:00
Benjamin Kosnik
40e5b28399 ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5268
	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
	* testsuite/27_io/ios_init.cc (tests04): Add test.

	libstdc++/3983
	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
	* include/bits/istream.tcc: Use _M_fctype, make consistent with
	ostream.
	* testsuite/27_io/ios_init.cc (tests03): Add test.

From-SVN: r51777
2002-04-03 02:32:52 +00:00
Richard Henderson
7a145e929d local-alloc.c (contains_replace_regs): LO_SUM may contain replace regs.
* local-alloc.c (contains_replace_regs): LO_SUM may contain
        replace regs.

	* gcc.c-torture/execute/20020402-2.c: New.

From-SVN: r51773
2002-04-02 18:06:26 -08:00
Hans-Peter Nilsson
d32c91705d bprob.exp: Skip for mmix-*-* and cris-*-*.
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
	* g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto.

From-SVN: r51772
2002-04-03 02:01:31 +00:00
Hans-Peter Nilsson
e78c4529cb f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
	* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
	g77.f-torture/execute/20001201.x,
	g77.f-torture/execute/u77-test.x: New files.

From-SVN: r51771
2002-04-03 01:45:43 +00:00
Hans-Peter Nilsson
a06c96f411 wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
	* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r51770
2002-04-03 01:22:14 +00:00
Richard Henderson
3a07982299 * doc/standards.texi: Document required freestanding libc entry points.
From-SVN: r51768
2002-04-02 16:12:59 -08:00
Alan Modra
c94ccb87d7 rs6000.md (ctrdi*): Add FPR constraint and associated splitter.
2002-04-02  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
        associated splitter.  Remove MQ constraint.
        (ctrdi_internal4): Correct CCmode clobber.

From-SVN: r51767
2002-04-02 17:49:44 -05:00
Tom Tromey
c544921cc0 natClassLoader.cc (findClass): Compare against 3', not 0'.
* java/lang/natClassLoader.cc (findClass): Compare against `3',
	not `0'.

From-SVN: r51764
2002-04-02 22:20:30 +00:00
Franz Sirl
cfe834f307 20020402-1.c: New test.
2002-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20020402-1.c: New test.

From-SVN: r51762
2002-04-02 22:01:54 +00:00
John David Anglin
fe660a1a19 milli64.S ($$dyncall): New function.
* milli64.S ($$dyncall): New function.
	* t-linux (LIB1ASMFUNCS): Revise module list.
	(LIB1ASMSRC): Use pa/milli64.S.

From-SVN: r51760
2002-04-02 19:44:45 +00:00
Richard Henderson
eadc0202ff inclhack.def (AAB_solaris_sys_varargs_h): Move and rename solaris_sys_varargs_h.
* fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
        rename solaris_sys_varargs_h.

From-SVN: r51759
2002-04-02 10:32:10 -08:00
Nick Clifton
c414f8a95d Remove previous delta
From-SVN: r51757
2002-04-02 16:44:39 +00:00
Mark Wielaard
36aadc29f3 mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of testsuite crashers.
* mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
        list of testsuite crashers.

From-SVN: r51753
2002-04-02 14:20:44 +00:00
Bryce McKinlay
df88ca6f49 IdentityHashMap.java (put): Set new threshold correctly when resizing table.
* java/util/IdentityHashMap.java (put): Set new threshold correctly
	when resizing table.

From-SVN: r51751
2002-04-02 14:55:14 +01:00
Nick Clifton
36f09faa05 (output_return_instruction): Do not create the conditional part of the return instruction...
(output_return_instruction): Do not create the conditional part of the return
instruction, if there is no condition to be used.

From-SVN: r51750
2002-04-02 13:51:01 +00:00
Phil Edwards
3741b1abe0 Makefile.am (install-data-local): Use mkinstalldirs.
2002-04-02  Phil Edwards  <pme@gcc.gnu.org>

	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
	* include/Makefile.in:  Regenerate.

From-SVN: r51747
2002-04-02 12:57:23 +00:00
Paolo Carlini
418bb88063 basic_string.h (replace(i1, i2, _CharT* k1, _CharT* k2), [...]): New specializations to optimize for the common cases of pointers and iterators.
2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan Myers  <ncm@cantrip.org>
            Philip Martin  <philip@codematters.co.uk>

	* include/bits/basic_string.h
	(replace(i1, i2, _CharT* k1, _CharT* k2),
	replace(i2, i2, const _CharT* k1, const _CharT* k2),
	replace(i1, i2, iterator k1, iterator k2,
	replace(i1, i2, const_iterator k1, const_iterator k2):
	New specializations to optimize for the common cases of
	pointers and iterators.
	(replace(pos, n1, s, n2)): Tweak.
	* include/bits/basic_string.tcc: Tweak comments.
	* testsuite/21_strings/replace.cc (test04): New tests.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>
Co-Authored-By: Philip Martin <philip@codematters.co.uk>

From-SVN: r51746
2002-04-02 12:07:07 +00:00
Richard Kenner
a14713223f stor-layout.c (layout_type, [...]): Give one-element array the same mode as its component.
* stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
	the same mode as its component.

From-SVN: r51745
2002-04-02 07:00:30 -05:00