Commit Graph

68392 Commits

Author SHA1 Message Date
Richard Earnshaw
49755603e1 arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache unconditional.
* arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache
	unconditional.

From-SVN: r99680
2005-05-13 21:56:58 +00:00
Josh Conner
4f5dfed0dc arm.c (arm_size_return_regs): New.
2005-05-13  Josh Conner  <jconner@apple.com>

	* config/arm/arm.c (arm_size_return_regs): New.
	(thumb_unexpanded_epilogue): replace in-line calculation
	of return registers with call to arm_size_return_regs.
	(use_return_insn): Include test of which registers are
	being used to hold return values, to accommodate
	vector return values.

From-SVN: r99679
2005-05-13 21:13:17 +00:00
Tom Tromey
9c309ac9a4 SystemClassLoader.java (init): Handle empty element in path.
* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
	element in path.

From-SVN: r99676
2005-05-13 20:20:56 +00:00
Aldy Hernandez
c2dba4ab40 sysv4.opt (mlittle): Handle.
* config/rs6000/sysv4.opt (mlittle): Handle.

	* config/rs6000/rs6000.c (rs6000_handle_option): Set
	target_flags_explicit when appropriate.

From-SVN: r99675
2005-05-13 19:52:39 +00:00
J"orn Rennecke
326a31e951 re PR middle-end/20714 (emit_no_conflict_block does invalid reordering)
PR middle-end/20714:
	* optabs.c (no_conflict_data): New struct.
	(no_conflict_move_test): New function.
	(emit_no_conflict_block): Use it.

From-SVN: r99674
2005-05-13 19:22:57 +01:00
Adam Nemet
223dcf1c00 invoke.texi (Debugging Options): Option -fdump-translation-unit only works with C++ now.
* doc/invoke.texi (Debugging Options): Option
	-fdump-translation-unit only works with C++ now.

From-SVN: r99673
2005-05-13 17:51:16 +00:00
Julian Brown
967bfd2c59 20041218-2.c: Add __attribute__((packed)).
* gcc.c-torture/execute/20041218-2.c: Add __attribute__((packed)).
	* gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*.

From-SVN: r99672
2005-05-13 17:34:45 +00:00
Hans-Peter Nilsson
52c9ce2ea2 Correct mixup in last entry
From-SVN: r99670
2005-05-13 17:09:56 +00:00
Hans-Peter Nilsson
b6c341293e Replace calls to abort in CRIS port.
* config/cris/cris.h (CRIS_ASSERT): New macro.
	* config/cris/cris.md ("*movsi_internal"): Use CRIS_ASSERT and
	internal_error instead of abort.
	("movsi"): Ditto.  Unquote preparation statement section.
	* config/cris/cris.c (ASSERT_PLT_UNSPEC): Define in terms of
	CRIS_ASSERT.
	("call", "call_value"): Ditto, but use gcc_assert where
	appropriate.  Tweak comments.
	(cris_op_str): Call internal_error, not abort.
	(cris_print_operand): Tweak "abort" reference to "die" in comment.
	(cris_initial_elimination_offset): Call gcc_unreachable, not abort.
	(cris_notice_update_cc): Call internal_error, not abort.
	(cris_expand_return, cris_expand_prologue, cris_gen_movem_load)
	(cris_emit_movem_store, cris_asm_output_symbol_ref)
	(cris_output_addr_const_extra): Use CRIS_ASSERT, don't call abort.
	(cris_symbol, cris_got_symbol): Use CRIS_ASSERT instead of
	ENABLE_CHECKING-guarded abort call.
	(cris_split_movdx): Use CRIS_ASSERT instead of abort with test.
	Use internal_error at end of test-chain.

From-SVN: r99669
2005-05-13 17:08:29 +00:00
J"orn Rennecke
2d6c85d314 re PR rtl-optimization/20769 (bt-load.c doesn't take nonlocal gotos into account.)
PR rtl-optimization/20769:
	* bt-load.c (compute_defs_uses_and_gen): Check for the blockage
	pattern emitted by expand_nl_goto_receiver.

	PR middle-end/20793:
	* integrate.c (allocate_initial_values): Update register liveness
	information.

From-SVN: r99668
2005-05-13 17:56:11 +01:00
Josh Conner
30e5a19843 * arm.c (arm_return_in_memory): Add handling for vector return types.
From-SVN: r99666
2005-05-13 16:44:16 +00:00
David Ung
ee218a9203 mips.h (processor_type): Add new PROCESSOR_4KP name.
* config/mips/mips.h (processor_type): Add new PROCESSOR_4KP
name.
* config/mips/mips.c: Add 4km alias.
* config/mips/mips.md: Add 4kp to cpu attrib and include 4k.md.
* config/mips/4k.md: New file, add 4Kc/4Kp DFA pipeline
description.

From-SVN: r99664
2005-05-13 15:24:35 +00:00
Magnus Fromreide
894b1dff50 1.cc: Use initialization instead of copying as the string is used only once.
2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>

	* testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
	initialization instead of copying as the string is used only once.
	* testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
	* testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.

From-SVN: r99663
2005-05-13 15:24:30 +00:00
David Ung
771aaa92ab * MAINTAINERS (Write After Approval): Add self.
From-SVN: r99662
2005-05-13 15:21:49 +00:00
Paul Brook
cafa34aa46 trans-stmt.c (gfc_trans_forall_1): Fix comment typo.
2005-05-13  Paul Brook  <paul@codesourcery.com>

	* trans-stmt.c (gfc_trans_forall_1): Fix comment typo.

From-SVN: r99660
2005-05-13 14:34:29 +00:00
Jan Hubicka
9da5888429 c-decl.c (finish_function): Suppress "control reaches end of non-void function" when...
* c-decl.c (finish_function): Suppress "control reaches end of
	non-void function" when "no return statement in function
	returning non-void" is issued.

From-SVN: r99659
2005-05-13 14:00:55 +00:00
Jan Hubicka
81cfbbc23c builtins-43.c: Use gimple dump instead of generic.
* gcc.dg/builtins-43.c: Use gimple dump instead of generic.
	* gcc.dg/fold-xor-?.c: Likewise.
	* gcc.dg/pr15784-?.c: Likewise.
	* gcc.dg/pr20922-?.c: Likewise.
	* gcc.dg/tree-ssa/20050128-1.c: Likewise.
	* gcc.dg/tree-ssa/pr17598.c: Likewise.
	* gcc.dg/tree-ssa/pr20470.c: Likewise.

	* tree-inline.c (copy_body_r): Simplify substituted ADDR_EXPRs.
	* tree-optimize.c (pass_gimple): Kill.
	(init_tree_optimization_passes): Kill pass_gimple.
	* tree-cfg.c (build_tree_cfg): Do verify_stmts to check that we are gimple.
	* tree-dump.c (dump_files): Rename .generic to .gimple.*

From-SVN: r99658
2005-05-13 13:57:19 +00:00
Joern Rennecke
618656ff89 re PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but left out)
PR rtl-optimization/20756:
	* basic-block.h (PROP_DEAD_INSN): Define.
	* flow.c (propagate_one_insn): Set during mark_set_regs call
	for a dead insn.
	(mark_set_1): Emit a clobber when we are about to delete a dead insn
	that kills a live register.

From-SVN: r99657
2005-05-13 14:34:17 +01:00
Ulrich Weigand
d197b9e0f0 Fix last ChangeLog entry.
From-SVN: r99656
2005-05-13 12:27:10 +00:00
J"orn Rennecke
86d9571b8c re PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but left out)
PR rtl-optimization/20756:
	* basic-block.h (PROP_DEAD_INSN): Define.
	* flow.c (propagate_one_insn): Set during mark_set_regs call
	for a dead insn.
	(mark_set_1): Emit a clobber when we are about to delete a dead insn
	that kills a live register.

From-SVN: r99655
2005-05-13 13:25:28 +01:00
Adrian Straetling
a1aed70656 s390.md: ("DBL"): New mode attribute.
2005-05-13  Adrian Straetling  <straetling@de.ibm.com>

	* config/s390.md: ("DBL"): New mode attribute.
	("*movmem_long_64", "*movmem_long_31"): Merge to "*movmem_long".
	("*clrmem_long_64", "*clrmem_long_31"): Merge to "*clrmem_long".
	("*cmpmem_long_64", "*cmpmem_long_31"): Merge to "*cmpmem_long".

From-SVN: r99654
2005-05-13 12:21:01 +00:00
Richard Guenther
f5c9a09777 c-format.c (check_format_arg): Handle string literals of the form &"string"[offset].
2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>

	* c-format.c (check_format_arg): Handle string literals of
	the form &"string"[offset].

	* g++.dg/warn/format4.C: New testcase.

From-SVN: r99652
2005-05-13 09:48:12 +00:00
Nick Clifton
0e687cb4f1 Update the address and telephone number of the FSF organization
From-SVN: r99650
2005-05-13 08:03:47 +00:00
Benjamin Kosnik
96aea9eb07 create_testsuite_files: Fix.
2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>

	* scripts/create_testsuite_files: Fix.

From-SVN: r99648
2005-05-13 03:46:26 +00:00
Kazu Hirata
9db9ab7e32 3000.md, [...]: Update copyright.
* config/mips/3000.md, config/mips/4000.md,
	config/mips/4100.md, config/mips/4300.md, config/mips/4600.md,
	config/mips/5000.md, config/mips/7000.md, config/mips/9000.md,
	config/mips/generic.md, config/pdp11/pdp11.md,
	config/sh/crt1.asm, config/sh/lib1funcs.asm,
	config/sh/sh-modes.def, config/sh/sh-protos.h,
	config/sh/shmedia.md, config/sh/ushmedia.h: Update copyright.

From-SVN: r99647
2005-05-13 03:19:57 +00:00
Bryce McKinlay
f5ea88a3c8 [multiple changes]
2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>

	* include/jvm.h (gcj::verifyClasses): Declare.
	* link.cc (gcj::verbose_class_flag): Moved.
	* prims.cc (gcj::verifyClasses): Define here.
	(gcj::verbose_class_flag): Move definition here.
	(_Jv_Linker::wait_for_state): Don't call verify_class
	if gcj::verifyClasses is not set.
	* gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.

2005-05-12  Aaron Luchko  <aluchko@redhat.com>

	* gij.cc (main): Recognize '-verify', '-noverify', and
	'-verifyremote'

2005-05-12  Aaron Luchko <aluchko@redhat.com>

        * gcj.texi: Add '-verify', '-noverify', and '-verifyremote'.

From-SVN: r99646
2005-05-13 02:02:39 +01:00
Kaz Kojima
87255f602f numeric_limits.cc (dg-options): Add -mieee to options on sh*-*-*.
* testsuite/18_support/numeric_limits.cc (dg-options): Add
	-mieee to options on sh*-*-*.

From-SVN: r99643
2005-05-13 00:23:28 +00:00
Kaz Kojima
760ceba9ed * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
From-SVN: r99642
2005-05-13 00:21:01 +00:00
GCC Administrator
585ac9fb12 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r99640.2
2005-05-13 00:16:20 +00:00
Richard Henderson
9325973e95 function.c (instantiate_virtual_regs_in_insn): Do not simplify addition to move unless dest is a register.
* function.c (instantiate_virtual_regs_in_insn): Do not simplify
        addition to move unless dest is a register.  Do not skip
        instantiation in dest on addition simplification.

From-SVN: r99637
2005-05-12 16:52:37 -07:00
Thomas Fitzsimmons
8fd1590ca6 Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la libgcjawt.la.
2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
	libgcjawt.la.

From-SVN: r99636
2005-05-12 23:45:17 +00:00
Hans-Peter Nilsson
2239ced831 cris.c (cris_print_operand): Use operand_subword and HOST_WIDE_INT_PRINT_DEC for output...
* config/cris/cris.c (cris_print_operand) <case 'H'; case
	CONST_INT>: Use operand_subword and HOST_WIDE_INT_PRINT_DEC for
	output; don't have special case for HOST_BITS_PER_WIDE_INT == 32.

From-SVN: r99635
2005-05-12 23:36:46 +00:00
Jan Hubicka
a930a4efe7 basic-block.h (FOR_ALL_BB_FN): New macro.
* basic-block.h (FOR_ALL_BB_FN): New macro.
	(init_flow): Initialize cfg structure.
	* function.c (allocate_struct_function): Do not initialize cfg structure.
	* tree-cfg.c (init_empty_tree_cfg): Break out from ...
	(build_tree_cfg): ... here.
	* tree-flow.h (init_empty_tree_cfg): Declare.

From-SVN: r99633
2005-05-12 22:32:16 +00:00
Steven Bosscher
0995a441f5 re PR tree-optimization/21520 (missing PRE opportunity with operand after operand)
Fix PR tree-optimization/21520
	* tree-ssa-pre.c (phi_translate): Use fully_constant_expression
	to attempt to fold constants.

From-SVN: r99632
2005-05-12 22:13:00 +00:00
Kaz Kojima
02f20dc3fd sh.c: Declare the prototype of sh_adjust_unroll_max only when...
* config/sh/sh.c: Declare the prototype of sh_adjust_unroll_max
	only when TARGET_ADJUST_UNROLL_MAX is defined.
	(general_movsrc_operand): Use the C style comment.
	(ua_offset): Use prototype.

From-SVN: r99631
2005-05-12 21:45:05 +00:00
Zdenek Dvorak
ed9c043b26 tree-ssa-loop-im.c (struct mem_ref): Add field "next".
* tree-ssa-loop-im.c (struct mem_ref): Add field "next".
	(struct hmr_data, hoist_memory_reference, memref_del,
	struct fmrv_data): Removed.
	(hoist_memory_references, free_mem_ref, free_mem_refs): New functions.
	(gather_mem_refs, gather_mem_refs_stmt): Add new references to the
	list.
	(find_more_ref_vops): Traverse the list of memory references.
	(determine_lsm_loop): Work with the list of memory references instead
	of traversing the hashtable.

From-SVN: r99627
2005-05-12 19:41:10 +00:00
Steve Ellcey
dbaef7e22b libiberty.h: Do not define empty basename prototype.
From-SVN: r99626
2005-05-12 19:29:53 +00:00
Steven Bosscher
98f464e058 except.c (duplicate_eh_region_1, [...]): New functions, based on old implementation removed with RTL inliner.
* except.c  (duplicate_eh_region_1, duplicate_eh_region_2,
	duplicate_eh_regions): New functions, based on old
	implementation removed with RTL inliner.
	(reachable_next_level): Modify behaviour pre-inline.
	* except.h (duplicate_eh_regions_map, duplicate_eh_regions):
	Declare.
	* function.h (struct function): Add after_inlining flag.
	* tree-optimize.c (tree_rest_of_compilation): Set it.
	* tree-eh.c (add_stmt_to_eh_region_fn): Initialize hashtable
	when needed.
	* tree-cfg.c (label_to_block_fn): Deal with cases where
	label was never insterted into code.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
Co-Authored-By: Stuart Hastings <stuart@apple.com>

From-SVN: r99625
2005-05-12 19:29:21 +00:00
Zack Weinberg
1ed17cd539 directives.c (#sccs table entry): Mark IN_I, consistent with #ident.
libcpp:
	* directives.c (#sccs table entry): Mark IN_I, consistent with #ident.
	(do_sccs): Delete function definition, #define to do_ident.
	(do_ident): Don't hardwire directive name.
gcc:
	* doc/cpp.texi: Document that #sccs is a synonym for #ident.

From-SVN: r99623
2005-05-12 18:31:38 +00:00
Tobias Schlüter
4588b60480 * trans-types.c (gfc_is_nodesc_array): Remove redundant check.
From-SVN: r99621
2005-05-12 20:19:37 +02:00
Thomas Koenig
c42a19d5e3 re PR libfortran/21324 (#undef GFC_CLEAR_MEMORY causes testsuite failures)
2005-05-12  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21324
        * runtime/memory.c:  Don't define GFC_CLEAR_MEMORY (it's a
        performance hog).
        * io/open.c (new_unit): Zero freshly allocated memory for
        unit structure.
        * io/unit.c (init_units):  Zero freshly allocated memory for
        STDIN, STDOUT and STDERR.
        * io/unix.c (open_internal):  Zero freshly allocated memory
        for unix_stream.
        (fd_to_stream):  Likewise.

From-SVN: r99619
2005-05-12 17:50:33 +00:00
Daniel Berlin
7cc70b5e3c re PR tree-optimization/21532 (ICE caused by PRE dead instruction removal)
2005-05-12  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/21532
	* tree-ssa-pre.c (create_expression_by_pieces): stmt
	needs to go onto the inserted_exprs list.

From-SVN: r99617
2005-05-12 17:11:16 +00:00
Ian Lance Taylor
feea5b18cc c-common.h (statement_code_p): Don't declare.
./:	* c-common.h (statement_code_p): Don't declare.
	(STATEMENT_CODE_P): Don't define.
	(INIT_STATEMENT_CODES): Don't define.
	* c-common.c (statement_code_p): Don't define.
cp/:
	* cp-tree.h (cp_stmt_codes): Don't define.
	(statement_code_p): Declare.
	(STATEMENT_CODE_P): Define.
	* lex.c (statement_code_p): Define.
	(cxx_init): Use actual codes in stmt_codes initializer, not
	cp_stmt_codes macro.  Initialize statement_code_p directly, rather
	than using INIT_STATEMENT_CODES.

From-SVN: r99615
2005-05-12 13:06:15 +00:00
Ryota Kunisawa
5a8c20ce52 re PR bootstrap/21230 (bootstrap failed unless bootstrap compiler is gcc.)
config/
        PR bootstrap/21230
        * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
        double quotes around GCC variable.

libcpp/
        PR bootstrap/21230
        * configure: Regenerate.

From-SVN: r99613
2005-05-12 12:22:08 +00:00
Eric Botcazou
47bebcf3ba Revert latest accidental commit.
From-SVN: r99610
2005-05-12 12:07:07 +00:00
Eric Botcazou
f8ece00085 sparc.h: Remove dead code.
* config/sparc/sparc.h: Remove dead code.
	* config/sparc/sparc.c (sparc_compute_frame_size): Use
	FIRST_PARM_OFFSET for the size of the register window area.
	(emit_save_regs): Rename into emit_save_or_restore_regs.
	Add 'action' parameter.  Use 4095 as upper bound for the offset.
	Pass 'action' to save_or_restore_regs.
	(emit_restore_regs): Delete.
	(sparc_expand_prologue): Call emit_save_or_restore_regs.
	(sparc_expand_epilogue): Likewise.
	* config/sparc/sparc.md (mode macro P): Move.
	(movdi_insn_sp32_v9, movdi_insn_sp32): Swap.
	(mov<V32:mode> expander): Move to the top of the V32 section.
	(movdf_insn_sp32_v9_no_fpu, movdf_insn_sp32_v9): Swap.
	(movtf_insn_sp64_hq, movtf_insn_sp64): Swap.
	(sibcall_epilogue): Move.

From-SVN: r99609
2005-05-12 11:43:05 +00:00
Richard Earnshaw
fa2c88a05b re PR target/21501 (ICE in extract_insn, at recog.c:2082)
PR target/21501
	* arm.c (arm_gen_constant): Sign-extend intermediate values when
	synthesizing a constant of the difference of two immediates.

From-SVN: r99608
2005-05-12 10:36:03 +00:00
Richard Earnshaw
81632f1168 vfp.md (negsf2_vfp): Add alternative using integer registers.
* arm/vfp.md (negsf2_vfp): Add alternative using integer registers.
	(negdf2_vfp): Likewise.  Convert to define_insn_and_split and split
	the alternatives using integer registers into the appropriate
	primitives.

From-SVN: r99607
2005-05-12 08:05:11 +00:00
Eli Zaretskii
5db1c53105 pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and sys/stat.h.
2005-05-11  Eli Zaretskii  <eliz@gnu.org>

	* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
	sys/stat.h.
	(pex_init): Fix last argument to pex_init_common.
	(pex_djgpp_exec_child): Remove leading underscore from _open,
	_dup, _dup2, _close, and _spawnv/_spawnvp.  Replace `program',
	which is undeclared, with `executable', which was unused.  Remove
	unused variable `e'.  Fix casting of last arg to spawnv/spawnvp.
	(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.

From-SVN: r99606
2005-05-12 03:44:58 +00:00
Kenneth Zadeck
5765e55258 bitmap.c (bitmap_elmt_to_freelist, [...]): Changed freelist structure.
2005-05-11 Kenneth Zadeck <zadeck@naturalbridge.com>

	* bitmap.c (bitmap_elmt_to_freelist, bitmap_element_allocate,
	bitmap_elt_clear_from, bitmap_clear): Changed freelist structure.
	* bitmap.h: Fixed comments.

From-SVN: r99605
2005-05-12 03:01:44 +00:00