Commit Graph

40854 Commits

Author SHA1 Message Date
Ulrich Weigand
6c4cf6956e * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
From-SVN: r49768
2002-02-14 16:39:23 +00:00
Martin Kahlert
aeb4ed4614 jni.h: Fix typo.
2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>

	* include/jni.h: Fix typo.

From-SVN: r49767
2002-02-14 15:42:37 +00:00
Jakub Jelinek
333ce3a767 dg.exp: Exclude debug subdir, it has its own .exp.
* g++.dg/dg.exp: Exclude debug subdir, it has its own .exp.
	* g++.dg/debug/debug.exp: New.
	* g++.dg/debug/trivial.C: New.
	* g++.dg/debug/debug1.C: Moved...
	* g++.dg/other/debug1.C: ...from here.
	* g++.dg/debug/debug2.C: Moved...
	* g++.dg/other/debug2.C: ...from here.
	* g++.dg/debug/debug3.C: Moved...
	* g++.dg/other/debug3.C: ...from here.

From-SVN: r49766
2002-02-14 15:17:42 +01:00
Kazu Hirata
037f11ef74 h8300-protos.h: Update the prototype for const_costs.
* config/h8300/h8300-protos.h: Update the prototype for
	const_costs.
	* config/h8300/h8300.c (const_costs): Treat SET as a little
	more expensive operation.
	* config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
	reference to const_costs.

From-SVN: r49765
2002-02-14 13:25:30 +00:00
Hans-Peter Nilsson
fdc76b0969 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
From-SVN: r49764
2002-02-14 11:08:57 +00:00
Jakub Jelinek
d76e68001b re PR c/5503 (GCC ignores prototype)
PR c/5503:
	* c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
	use arguments from newtype.

	* gcc.dg/noncompile/20020213-1.c: New test.

From-SVN: r49763
2002-02-14 11:22:53 +01:00
GCC Administrator
2a5e0aeacd Daily bump.
From-SVN: r49762
2002-02-14 08:16:54 +00:00
Toon Moene
7bc195dde3 news.texi: List Problem Reports fixed in 3.1.
2002-02-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: List Problem Reports fixed in 3.1.

From-SVN: r49760
2002-02-14 06:16:56 +00:00
Eric Christopher
5ae590d72b mips.c (override_options): Add check for march/mipsX on the same command line.
2002-02-13  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (override_options): Add check for march/mipsX
	on the same command line. Fix error message in cpu processing.
	Remove architecture and ISA checks.

From-SVN: r49759
2002-02-14 05:11:44 +00:00
Aldy Hernandez
b851369147 darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
2002-02-13  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.

        * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.

From-SVN: r49758
2002-02-14 03:43:03 +00:00
Aldy Hernandez
78c875e81a rs6000.md ("*movv4si_internal"): Add m<-r and r<-r alternatives.
2002-02-14  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
        alternatives.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

        * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
        not push_reload for altivec modes.

From-SVN: r49757
2002-02-14 03:37:37 +00:00
Bryce McKinlay
b34223e5ac Removed .s files.
From-SVN: r49752
2002-02-14 00:09:23 +00:00
Joel Sherrill
f22b4bc43d config.gcc (a29k-*-rtems): General cleanup across all RTEMS targets...
2002-02-13	Joel Sherrill <joel@OARcorp.com>

	* config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
	all RTEMS targets including removal of #includes from config/*/rtems*.h
	file and adding them to tm_file setting. Added xm_defines=POSIX to
	many targets.
	* config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
	* config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
	* config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
	* config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
	* config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
	config/m68k/rtemself.h: Ditto.
	* config.gcc (mips*-*-rtems*), config/mips/rtems.h,
	config/mips/rtems64.h: Ditto.
	* config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
	* config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
	Ditto.
	* config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
	config/sparc/rtemself.h: Ditto.
	* config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
	* config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
	arm-rtems stanza closer to other arm-elf targets and made arm-rtems
	more like arm-elf.
	* config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
	config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
	target made more similar to i386-elf.
	* config/i386/t-rtems-i386: Added soft float support and multilibs.
	* config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
	be similar to config/m68k/t-m68kelf.
	* gthr-rtems.h: Encapsulate with extern "C" for C++.

From-SVN: r49749
2002-02-13 22:49:03 +00:00
Jan Hubicka
8686336f51 * regmove.c (kill_value): Handle subregs.
From-SVN: r49748
2002-02-13 22:44:12 +00:00
Jan Hubicka
558740bf3d i386.md (mul patterns): Allow memory operand to be first; add expanders where needed; fix constraints.
* i386.md (mul patterns): Allow memory operand to be first;
	add expanders where needed; fix constraints.
	(min?f_nonieee, max?f_nonieee, SSE TImode patterns):
	Allow memory operand to be the first.

	* i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
	operands.

From-SVN: r49747
2002-02-13 22:35:54 +00:00
Jakub Jelinek
21117a1708 re PR c/5681 (gcc 3.0.3 produces wrong assembler code)
PR c/5681:
	* expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
	GET_MODE (x).

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

From-SVN: r49746
2002-02-13 22:49:32 +01:00
Jakub Jelinek
ec65b2e3da re PR rtl-optimization/5547 (g++ 3.1 crash in output_operand)
PR optimization/5547:
	* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
	all valid IA-32 address modes involving non-scaled %ebx and
	GOT/GOTOFF as displacement.

	* g++.dg/other/debug3.C: New test.

From-SVN: r49745
2002-02-13 22:46:22 +01:00
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