aj [Sun, 15 May 2005 15:37:18 +0000 (15:37 +0000)]
* intrinsics/pack_generic.c (pack): Remove unneeded calculation.
* m4/matmull.m4 (matmul_): Remove unneeded calculations, fix
pointer cast to avoid warning.
* generated/matmul_l4.c: Regenerated.
* generated/matmul_l8.c: Regenerated.
* Makefile.am: Remove AM_CFLAGS here.
* configure.ac: Define AM_CFLAGS and AM_FCFLAGS so that warnings
are set. Set additionally -Wstrict-prototypes for CFLAGS.
* Makefile.in: Regenerated
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99723
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 15 May 2005 15:33:12 +0000 (15:33 +0000)]
* intrinsics/system_clock.c (system_clock_4, system_clock_8): Add
missing returns, reformat a bit.
* io/write.c (nml_write_obj): Use %d again - and cast to int,
st_sprintf does not handle %ld.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99722
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 15 May 2005 13:25:19 +0000 (13:25 +0000)]
* io/unit.c (is_internal_unit): Add void as parameter list.
* io/transfer.c: Move prototype declarations before the functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99721
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 15 May 2005 12:49:45 +0000 (12:49 +0000)]
Remove extra whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99720
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 15 May 2005 12:44:42 +0000 (12:44 +0000)]
* runtime/normalize.c (almostone_r4, almostone_r8): Fix parameter
list.
* intrinsics/random.c (KISS_DEFAULT_SEED): Remove extra semicolon.
* io/transfer.c: Do not use empty initializers for global objects.
Add missing initializers.
* io/lock.c: Do not use empty initializers for global objects.
* io/close.c: Add missing initializers.
* runtime/environ.c: Add missing initializers. Do not use empty
initializers for global object.
(init_string): Mark argument as unused.
* runtime/main.c (cleanup): Fix parameter list.
* io/io.h: Fix parameter lists.
* m4/transpose.m4, m4/matmul.m4: Fix pointer cast to avoid
warning.
* generated/transpose_c4.c, generated/transpose_c8.c,
generated/transpose_i4.c, generated/transpose_i8.c,
generated/matmul_c4.c, generated/matmul_c8.c,
generated/matmul_i4.c, generated/matmul_i8.c,
generated/matmul_r4.c, generated/matmul_r8.c: Regenerated.
* io/write.c (nml_write_obj): Fix 64-bit problem.
* io/list_read.c (nml_get_obj_data): Add missing braces around
initializer to avoid warnings.
* intrinsics/etime.c (etime_sub): Remove unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99719
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 15 May 2005 08:25:52 +0000 (08:25 +0000)]
* intrinsics/chdir.c, intrinsics/getlog.c, intrinsics/link.c,
intrinsics/symlnk.c, intrinsics/perror.c: Include <string.h> for
prototypes.
* runtime/string.c (compare0): Remove unused variable.
* io/unit.c (init_units): Remove unused variables.
* intrinsics/getcwd.c (getcwd_i4_sub): Remove unused variable.
* intrinsics/unlink.c (unlink_i4_sub): Remove unused variable.
* intrinsics/stat.c (stat_i4_sub, fstat_i8_sub, fstat_i4_sub,
stat_i8_sub): Remove unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99716
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 15 May 2005 08:16:01 +0000 (08:16 +0000)]
* opth-gen.awk: Remove excess indentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99715
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 15 May 2005 08:10:10 +0000 (08:10 +0000)]
* optc-gen.awk: Remove excess indentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99714
138bc75d-0d04-0410-961f-
82ee72b054a4
fengwang [Sun, 15 May 2005 02:45:29 +0000 (02:45 +0000)]
2005-05-15 Feng Wang <fengwang@nudt.edu.cn>
Jerry DeLisle <jvdelisle@verizon.net>
PR fortran/17432
* trans-stmt.c (gfc_trans_label_assign): fix pointer type, to
resolve ICE on assign of format label.
* trans-io.c (set_string): add fold-convert to properly
handle assigned format label in write.
2005-05-15 Jerry DeLisle <jvdelisle@verizon.net>
PR fortran/17432
* gfortran.dg/assign_4.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99711
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Sun, 15 May 2005 02:02:58 +0000 (02:02 +0000)]
* config/sh/sh.c (sh_output_mi_thunk): Check cfun->cfg instead
of basic_block_info. Call init_flow and find_basic_blocks
before dbr_schedule if needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99710
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 15 May 2005 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99708
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 14 May 2005 20:32:59 +0000 (20:32 +0000)]
gcc/
PR tree-optimization/21563
* tree-vrp.c (compare_value): Return boolean_false_node when
SSA_NAME in "if (SSA_NAME == CST)" is strictly smaller than or
strictly larger than CST.
testsuite/
PR tree-optimization/21563
* gcc.dg/tree-ssa/pr21563.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99705
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 14 May 2005 20:22:58 +0000 (20:22 +0000)]
* tree-optimize.c (init_tree_optimization_passes): Move
pass_cd_dce in place of the last pass_dce.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99704
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 14 May 2005 18:08:20 +0000 (18:08 +0000)]
* config/vax/vax.c: (print_operand_address) Use gcc_unreachable() and
gcc_assert().
(rev_cond_name) Likewise.
(vax_float_literal) Likewise.
* config/vax/vax.md: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99703
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 14 May 2005 17:55:33 +0000 (17:55 +0000)]
* config/vax/vax.md: define_constant VAXens AP, FP, SP and PC
registers and use them (specifically the stack pointer).
* config/vax/vax.h: Use above defines right here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99702
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 14 May 2005 17:50:00 +0000 (17:50 +0000)]
* config/vax/vax.c: (override_options) Remove 'register' keyword.
(split_quadword_operands) Likewise. (rev_cond_name) Likewise.
(vax_float_literal) Likewise. (vax_rtx_costs) Remove trailing
whitespace.
* config/vax/vax.h: Remove 'register' keyword. Misc. whitespace fixes,
mostly removal of trailing spaces...
* config/vax/vax-modes.def: Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99701
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 14 May 2005 17:38:46 +0000 (17:38 +0000)]
* config/vax/elf.h: Update whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99700
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sat, 14 May 2005 15:42:01 +0000 (15:42 +0000)]
2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>
Revert
2005-05-11 Richard Guenther <rguenth@gcc.gnu.org>
* fold-const.c (fold_indirect_ref_1): Avoid removing
NOP_EXPRs with type qualifiers like const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99699
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 14 May 2005 14:32:39 +0000 (14:32 +0000)]
Patch by Richard Henderson:
* tree-eh.c (tree_can_throw_internal, tree_can_throw_external):
Handle RESX expressions properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99698
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 14 May 2005 14:27:09 +0000 (14:27 +0000)]
* tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.
(add_stmt_to_eh_region_fn): Nest into CALL_EXPR.
(remove_stmt_from_eh_region_fn): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99697
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 14 May 2005 14:24:49 +0000 (14:24 +0000)]
* tree-cfg.c (execute_warn_function_return): Break out noreturn
warning too..
(execute_warn_function_noreturn): ... here.
(pass_warn_function_noreturn): New pass.
* tree-pass.h (pass_warn_function_noreturn): Declare
* tree-optimize.c (init_tree_optimization_passes): Move return
warnings early and add noreturn warnings at place of previous
return warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99696
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 14 May 2005 13:05:37 +0000 (13:05 +0000)]
* tree-ssa-live.c (tpa_init, tpa_delete, tpa_compact,
root_var_init, type_var_init): Use VEC instead of VARRAY.
* tree-ssa-live.h (tree_partition_associator_d): Change the
type of trees to VEC(tree,heap)*.
(tpa_tree): Use VEC instead of VARRAY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99695
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sat, 14 May 2005 12:53:20 +0000 (12:53 +0000)]
2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>
* fold-const.c (div_if_zero_remainder): New function.
(try_move_mult_to_index): Use it.
* g++.dg/tree-ssa/tmmti-2.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99694
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 14 May 2005 03:25:44 +0000 (03:25 +0000)]
* tree-eh.c (leh_tf_state): Change the type of dest_array to
VEC(tree,heap)*.
(maybe_record_in_goto_queue, lower_try_finally_onedest,
lower_try_finally_copy, lower_try_finally_switch,
lower_try_finally): Use VEC instead of VARRAY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99693
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 14 May 2005 02:33:25 +0000 (02:33 +0000)]
* config/cris/cris.h (Node: Register Classes): Remove obsoleted
comment regarding defined register classes.
(LEGITIMIZE_RELOAD_ADDRESS): Do not define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99692
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 14 May 2005 00:46:12 +0000 (00:46 +0000)]
* tree-optimize.c (init_tree_optimization_passes): Move
pass_merge_phi before the first pass_dominator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99691
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 14 May 2005 00:42:46 +0000 (00:42 +0000)]
2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/21557
* java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
interrupt status flag if _Jv_CondWait is interrupted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99687
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 14 May 2005 00:16:34 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99684
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 13 May 2005 21:56:58 +0000 (21:56 +0000)]
* arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache
unconditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99680
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Fri, 13 May 2005 21:13:17 +0000 (21:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99679
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 13 May 2005 20:20:56 +0000 (20:20 +0000)]
* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
element in path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99676
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 13 May 2005 19:52:39 +0000 (19:52 +0000)]
* config/rs6000/sysv4.opt (mlittle): Handle.
* config/rs6000/rs6000.c (rs6000_handle_option): Set
target_flags_explicit when appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99675
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 13 May 2005 18:22:57 +0000 (18:22 +0000)]
PR middle-end/20714:
* optabs.c (no_conflict_data): New struct.
(no_conflict_move_test): New function.
(emit_no_conflict_block): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99674
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Fri, 13 May 2005 17:51:16 +0000 (17:51 +0000)]
* doc/invoke.texi (Debugging Options): Option
-fdump-translation-unit only works with C++ now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99673
138bc75d-0d04-0410-961f-
82ee72b054a4
jules [Fri, 13 May 2005 17:34:45 +0000 (17:34 +0000)]
* gcc.c-torture/execute/
20041218-2.c: Add __attribute__((packed)).
* gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99672
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 13 May 2005 17:09:56 +0000 (17:09 +0000)]
Correct mixup in last entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99670
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 13 May 2005 17:08:29 +0000 (17:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99669
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 13 May 2005 16:56:11 +0000 (16:56 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99668
138bc75d-0d04-0410-961f-
82ee72b054a4
jules [Fri, 13 May 2005 16:44:16 +0000 (16:44 +0000)]
* arm.c (arm_return_in_memory): Add handling for vector return types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99666
138bc75d-0d04-0410-961f-
82ee72b054a4
davidu [Fri, 13 May 2005 15:24:35 +0000 (15:24 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99664
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 13 May 2005 15:24:30 +0000 (15:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99663
138bc75d-0d04-0410-961f-
82ee72b054a4
davidu [Fri, 13 May 2005 15:21:49 +0000 (15:21 +0000)]
* MAINTAINERS (Write After Approval): Add self.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99662
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Fri, 13 May 2005 14:34:29 +0000 (14:34 +0000)]
2005-05-13 Paul Brook <paul@codesourcery.com>
* trans-stmt.c (gfc_trans_forall_1): Fix comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99660
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 13 May 2005 14:00:55 +0000 (14:00 +0000)]
* c-decl.c (finish_function): Suppress "control reaches end of
non-void function" when "no return statement in function
returning non-void" is issued.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99659
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 13 May 2005 13:57:19 +0000 (13:57 +0000)]
* 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.*
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99658
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 13 May 2005 13:34:17 +0000 (13:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99657
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 13 May 2005 12:27:10 +0000 (12:27 +0000)]
Fix last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99656
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 13 May 2005 12:25:28 +0000 (12:25 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99655
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 13 May 2005 12:21:01 +0000 (12:21 +0000)]
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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99654
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 13 May 2005 09:48:12 +0000 (09:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99652
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 13 May 2005 08:03:47 +0000 (08:03 +0000)]
Update the address and telephone number of the FSF organization
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99650
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 13 May 2005 03:46:26 +0000 (03:46 +0000)]
2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
* scripts/create_testsuite_files: Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99648
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 13 May 2005 03:19:57 +0000 (03:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99647
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 13 May 2005 01:02:39 +0000 (01:02 +0000)]
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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99646
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 13 May 2005 00:23:28 +0000 (00:23 +0000)]
* testsuite/18_support/numeric_limits.cc (dg-options): Add
-mieee to options on sh*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99643
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 13 May 2005 00:21:01 +0000 (00:21 +0000)]
* configure.host: Set IEEESPEC to -mieee for sh*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99642
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 13 May 2005 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99640
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 12 May 2005 23:52:37 +0000 (23:52 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99637
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Thu, 12 May 2005 23:45:17 +0000 (23:45 +0000)]
2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
libgcjawt.la.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99636
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 12 May 2005 23:36:46 +0000 (23:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99635
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 12 May 2005 22:32:16 +0000 (22:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99633
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Thu, 12 May 2005 22:13:00 +0000 (22:13 +0000)]
Fix PR tree-optimization/21520
* tree-ssa-pre.c (phi_translate): Use fully_constant_expression
to attempt to fold constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99632
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Thu, 12 May 2005 21:45:05 +0000 (21:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99631
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 12 May 2005 19:41:10 +0000 (19:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99627
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 12 May 2005 19:29:53 +0000 (19:29 +0000)]
libiberty.h: Do not define empty basename prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99626
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 12 May 2005 19:29:21 +0000 (19:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99625
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 12 May 2005 18:31:38 +0000 (18:31 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99623
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 12 May 2005 18:19:37 +0000 (18:19 +0000)]
* trans-types.c (gfc_is_nodesc_array): Remove redundant check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99621
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Thu, 12 May 2005 17:50:33 +0000 (17:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99619
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Thu, 12 May 2005 17:11:16 +0000 (17:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99617
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 12 May 2005 13:06:15 +0000 (13:06 +0000)]
./:
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99615
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 12 May 2005 12:22:08 +0000 (12:22 +0000)]
config/
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.
libcpp/
PR bootstrap/21230
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99613
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 12 May 2005 12:07:07 +0000 (12:07 +0000)]
Revert latest accidental commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99610
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 12 May 2005 11:43:05 +0000 (11:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99609
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 12 May 2005 10:36:03 +0000 (10:36 +0000)]
PR target/21501
* arm.c (arm_gen_constant): Sign-extend intermediate values when
synthesizing a constant of the difference of two immediates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99608
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 12 May 2005 08:05:11 +0000 (08:05 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99607
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 12 May 2005 03:44:58 +0000 (03:44 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99606
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Thu, 12 May 2005 03:01:44 +0000 (03:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99605
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 12 May 2005 01:27:15 +0000 (01:27 +0000)]
gcc/java:
* gcj.texi (Code Generation): Document -fbootstrap-classes.
* decl.c (GCJ_BOOTSTRAP_LOADER_ADDITION): New macro.
(parse_version): Use it.
* lang.opt (-fbootstrap-classes): New option.
libjava:
* external/w3c_dom/Makefile.in: Rebuilt.
* external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
-fbootstrap-classes.
* external/sax/Makefile.in: Rebuilt.
* external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
-fbootstrap-classes.
* java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
friend.
* java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
Call _Jv_CopyClassesToSystemLoader.
* java/lang/natClassLoader.cc (system_class_list): New global.
(_Jv_RegisterClassHookDefault): Handle bootstrap and system
classes differently.
(_Jv_CopyClassesToSystemLoader): New function.
(SYSTEM_LOADER_INITIALIZED): New define.
* include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
(_Jv_CheckABIVersion): Use it.
(_Jv_ClassForBootstrapLoader): New function.
* Makefile.in: Rebuilt.
* Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99604
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 12 May 2005 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99602
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 11 May 2005 22:32:04 +0000 (22:32 +0000)]
fortran/
PR fortran/21260
* io.c (check_format): Look for literal characters inside
hollerith constant.
testsuite/
PR fortran/21260
* gfortran.dg/hollerith_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99597
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 11 May 2005 21:34:19 +0000 (21:34 +0000)]
PR target/21412
* config/ia64/ia64.c (TARGET_CANNOT_FORCE_CONST_MEM): New.
(ia64_cannot_force_const_mem): New.
(tls_symbolic_operand_type): New.
(ia64_legitimate_constant_p): New.
(ia64_expand_load_address): Return true on success. Improve
checks for when we should not split.
(ia64_expand_tls_address): New addend operand. Distribute it
as appropriate to the tls_kind. Delay referencing gp.
(ia64_expand_move): Split symbolic addend as necessary. Handle
tls symbols with addends.
* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): False for r0,
p0, f0, f1, and r13.
(LEGITIMATE_CONSTANT_P): Move to ia64_legitimate_constant_p.
* config/ia64/ia64.md (UNSPEC_DTPMOD): New.
(symbolic_operand splitter): Pass everything through
ia64_expand_load_address and FAIL or DONE as appropriate.
(load_fptr): Only accept after reload.
(load_fptr_internal1, gprel64_offset, load_gprel64, load_symptr_high,
load_symptr_low, load_ltoff_dtpmod,
(load_dtpmod): New.
(load_dtprel): Only accept tls symbols.
(load_dtprel64, load_dtprel22): Likewise.
(load_tprel, load_tprel64, load_tprel22): Likewise.
(load_dtprel_gd, load_ltoff_dtprel, load_tprel_ie): New.
(add_dtprel): Only accept tls symbols. Canonicalize PLUS.
(add_dtprel14, add_dtprel22): Likewise.
(add_tprel, add_tprel14, add_tprel22): Likewise.
* config/ia64/predicates.md (small_addr_symbolic_operand): New.
(any_offset_symbol_operand, aligned_offset_symbol_operand): New.
(got_symbolic_operand): Check CONST offsets.
(tls_symbolic_operand, ld_tls_symbolic_operand): New.
(ie_tls_symbolic_operand, le_tls_symbolic_operand): New.
(move_operand): Don't handle tls here. Check CONST offsets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99596
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 11 May 2005 20:03:39 +0000 (20:03 +0000)]
* config/mips/7000.md (rm7_impy_si_mult): Just match imul and imadd.
Remove hilo_operand check.
(rm7_impy_si_mul): Just match imul3. Remove hilo_operand check.
* config/mips/predicates.md (hilo_operand): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99592
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 11 May 2005 19:02:35 +0000 (19:02 +0000)]
* config/mips/sr71k.md, config/mips/7000.md: Reformat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99591
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 11 May 2005 18:27:33 +0000 (18:27 +0000)]
PR tree-optimizer/18472
* tree-if-conv.c (tree_if_convert_stmt,
if_convertible_modify_expr_p): Don't handle GOTO_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99588
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 11 May 2005 17:04:32 +0000 (17:04 +0000)]
Fix incomplete ChagneLog from previous checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99586
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 11 May 2005 16:25:30 +0000 (16:25 +0000)]
* Makefile.in (tree-eh.o: Kill gt-tree-eh.h dependency.
(GTFILES): add except.h.
* except.c (eh_status): Add throw_stmt_table.
(set_eh_throw_stmt_table, get_eh_throw_stmt_table): New functions.
* except.h (add_stmt_to_eh_region_fn, remove_stmt_from_eh_region_fn,
lookup_stmt_eh_region_fn): Declare.
(throw_stmt_node): New structure.
(set_eh_throw_stmt_table, get_eh_throw_stmt_table): New.
* gengtype.c (open_base_files): Add except.h to inlines.
* tree-eh.c (throw_stmt_node): Kill.
(record_stmt_eh_region): Update.
(add_stmt_to_eh_region_fn): Break out from ...
(add_stmt_to_eh_region): ... here.
(remove_stmt_from_eh_region_fn): Break out from ...
(remove_stmt_from_eh_region): ... here.
(lookup_stmt_eh_region_fn): Break out from ...
(lookup_stmt_eh_region): ... here.
(honor_protect_cleanup_actions): Use build_resx.
(lower_try_finally_onedest): Likewise.
(lower_try_finally_copy): Likewise.
(lower_try_finally_switch): Likewise.
(lower_eh_constructs): Update eh table construction.
* tree.c (build_resx): New.
* tree.h (build_resx): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99585
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 11 May 2005 16:08:27 +0000 (16:08 +0000)]
2005-05-11 H.J. Lu <hongjiu.lu@intel.com>
* libgcov.c (gcov_exit): Set prefix_length to 0 if no relocation
is needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99584
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 11 May 2005 16:06:36 +0000 (16:06 +0000)]
* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove
redundant code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99583
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 11 May 2005 15:21:28 +0000 (15:21 +0000)]
* fold-const.c, libgcov.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99582
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Wed, 11 May 2005 14:59:09 +0000 (14:59 +0000)]
* config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define.
* config/arm/arm.h (SUBTARGET_FRAME_POINTER_REQUIRED): Provide
default definition.
(FRAME_POINTER_REQUIRED): Use SUBTARGET_FRAME_POINTER_REQUIRED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99581
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 11 May 2005 14:52:51 +0000 (14:52 +0000)]
fortran/
* resolve.c (resolve_symbol): Copy 'pointer' and 'dimension'
attribute from result symbol to function symbol.
testsuite/
* gfortran.dg/func_result_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99580
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 11 May 2005 13:40:12 +0000 (13:40 +0000)]
PR bootstrap/21481
* crtstuff.c: Include auto-host.h again, for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99579
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 11 May 2005 13:08:50 +0000 (13:08 +0000)]
* config/mips/24k.md: Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99578
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 11 May 2005 12:52:58 +0000 (12:52 +0000)]
* config/mips/mips.md (type): Add imul3.
(length, hazard, may_clobber_hilo): Check for imul3.
(mulsi3_mult3, muldi3_mult3, *muls, <su>mulsi3_highpart_mulhi_internal)
(*<su>mulsi3_highpart_neg_mulhi_internal): Set attr to imul3.
* config/mips/24k.md (r24k_int_mul3): Enable this reservation
for a 3 operand mul and its bypasses.
* config/mips/3000.md (r3k_imul): Add imul3 to reservations.
* config/mips/4000.md (r4k_imul): Likewise.
* config/mips/4100.md (r4100_imul_si, r4100_imul_di): Likewise.
* config/mips/4130.md (vr4130_class, vr4130_mulsi)
(vr4130_muldi): Likewise.
* config/mips/4300.md (r4300_imul_si, r4300_imul_di): Likewise.
* config/mips/4600.md (r4600_imul, r4650_imul): Likewise.
* config/mips/5000.md (r5k_imul_si, r5k_imul_di): Likewise.
* config/mips/5400.md (ir_vr54_imul_si, ir_vr54_imul_di)
(ir_vr54_imadd_si): Likewise.
* config/mips/5500.md (ir_vr55_imul_si, ir_vr55_imul_di): Likewise.
* config/mips/7000.md (rm7_impy_si_mult, rm7_impy_si_mul)
(rm7_impy_di): Likewise.
* config/mips/9000.md (rm9k_mulsi, rm9k_muldi): Likewise.
* config/mips/generic.md (generic_imul): Likewise.
* config/mips/sb1.md (ir_sb1_mulsi, ir_sb1_muldi): Likewise.
* config/mips/sr71k.md (ir_sr70_imul_si, ir_sr70_imul_di): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99577
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 11 May 2005 12:24:43 +0000 (12:24 +0000)]
PR middle-end/20371:
* tree.h (record_layout_info_s): New member prev_packed.
* stor-layout.c (update_alignment_for_field): Fix comment about
KNOWN_ALIGN. For MS bitfields, if we start a new run, make sure
we start it properly aligned.
(place_field): At the beginning of a record, pass 0 as KNOWN_ALIGN
to update_alignment_for_field, and recompute it afterwards using
the alignment of the record.
When a packed bitfield precedes an MS bitfield, don't add padding
at the end of the packed bitfield on behalf of the base type of
the packed bit field.
Don't adjust rli->bitpos at the end
of an MS bitfield run if we already adjusted bitpos/offset for an
alignment as large or larger than the bitfield type size.
Take possible record alignment > BIGGEST_ALIGNMENT into account
when calculating actual_align.
Only put packed buit fields into rli->prev_field if they end up
suitably aligned.
Also set rli->remaining_in_alignment when we re-set rli->prev_field.
Update rli->remaining_in_alignment when we have already started a
run of bit fields and we process a packed bit field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99574
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 11 May 2005 11:03:31 +0000 (11:03 +0000)]
* tree-data-ref.c (find_data_references_in_loop): Give up when
the body of the loop contains a CALL_EXPR or an ASM_EXPR: they
may embed arbitrary side effects.
Remove the assumption that GIMPLE form contains a single array
access per statement.
When the statement contains virtual operands, fail if it is not
a MODIFY_EXPR or a CALL_EXPR.
Return after the dont know node is inserted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99573
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Wed, 11 May 2005 10:34:05 +0000 (10:34 +0000)]
PR fortran/19478
* io/unix.c (fd_truncate): update positions when ftruncate
fails (like writing to /dev/null).
* gfortran.dg/dev_null.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99570
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Wed, 11 May 2005 10:13:23 +0000 (10:13 +0000)]
* arm.md (negsf2, negdf2): Permit these expands when compiling for VFP.
* gcc.dg/arm-vfp1.c: Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99569
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 11 May 2005 08:14:44 +0000 (08:14 +0000)]
2005-05-11 Richard Guenther <rguenth@gcc.gnu.org>
PR middle-end/19807
PR tree-optimization/19639
* fold-const.c (try_move_mult_to_index): Handle INTEGER_CST
and generic summands for char* as s * delta, too, folding &a[i]
CODE x to &a[i CODE x/s]. Use tree_int_cst_equal
for comparison of steps. Convert types for index addition.
(fold_binary): Adjust the callers to always dispatch to
try_move_mult_to_index.
* tree-ssa-propagate.c (set_rhs): Avoid setting rhs to
expr with non-gimple ARRAY_REF offset.
* g++.dg/tree-ssa/pr19807.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99568
138bc75d-0d04-0410-961f-
82ee72b054a4