aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-15chdir.c, [...]: Include <string.h> for prototypes.Andreas Jaeger11-59/+77
* 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. From-SVN: r99716
2005-05-15* opth-gen.awk: Remove excess indentation.Richard Sandiford2-8/+9
From-SVN: r99715
2005-05-15* optc-gen.awk: Remove excess indentation.Richard Sandiford2-36/+40
From-SVN: r99714
2005-05-15[multiple changes]Feng Wang5-2/+28
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. From-SVN: r99711
2005-05-15sh.c (sh_output_mi_thunk): Check cfun->cfg instead of basic_block_info.Kaz Kojima2-2/+15
* 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. From-SVN: r99710
2005-05-15Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r99708.2
2005-05-14re PR tree-optimization/21563 (A trivial VRP opportunity missed)Kazu Hirata4-0/+30
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. From-SVN: r99705
2005-05-14tree-optimize.c (init_tree_optimization_passes): Move pass_cd_dce in place ↵Kazu Hirata2-2/+6
of the last pass_dce. * tree-optimize.c (init_tree_optimization_passes): Move pass_cd_dce in place of the last pass_dce. From-SVN: r99704
2005-05-14vax.c: (print_operand_address) Use gcc_unreachable() and gcc_assert().Nathan Sidwell3-31/+34
* 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. Co-Authored-By: Jan-Benedict Glaw <jbglaw@lug-owl.de> From-SVN: r99703
2005-05-14vax.md: define_constant VAXens AP...Jan-Benedict Glaw3-14/+22
* 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. From-SVN: r99702
2005-05-14vax.c: (override_options) Remove 'register' keyword.Jan-Benedict Glaw4-58/+68
* 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. From-SVN: r99701
2005-05-14* config/vax/elf.h: Update whitespace.Jan-Benedict Glaw2-17/+22
From-SVN: r99700
2005-05-14revert: fold-const.c (fold_indirect_ref_1): Avoid removing NOP_EXPRs with ↵Richard Guenther2-1/+8
type qualifiers like const. 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. From-SVN: r99699
2005-05-14Patch by Richard Henderson:Jan Hubicka2-4/+19
* tree-eh.c (tree_can_throw_internal, tree_can_throw_external): Handle RESX expressions properly. From-SVN: r99698
2005-05-14tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.Jan Hubicka2-22/+17
* 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. From-SVN: r99697
2005-05-14tree-cfg.c (execute_warn_function_return): Break out noreturn warning too..Jan Hubicka6-10/+50
* 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. From-SVN: r99696
2005-05-14tree-ssa-live.c (tpa_init, [...]): Use VEC instead of VARRAY.Kazu Hirata3-10/+20
* 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. From-SVN: r99695
2005-05-14fold-const.c (div_if_zero_remainder): New function.Richard Guenther4-8/+65
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. From-SVN: r99694
2005-05-14tree-eh.c (leh_tf_state): Change the type of dest_array to VEC(tree,heap)*.Kazu Hirata2-19/+19
* 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. From-SVN: r99693
2005-05-14cris.h (Node: Register Classes): Remove obsoleted comment regarding defined ↵Hans-Peter Nilsson2-69/+6
register classes. * config/cris/cris.h (Node: Register Classes): Remove obsoleted comment regarding defined register classes. (LEGITIMIZE_RELOAD_ADDRESS): Do not define. From-SVN: r99692
2005-05-14tree-optimize.c (init_tree_optimization_passes): Move pass_merge_phi before ↵Kazu Hirata2-1/+6
the first pass_dominator. * tree-optimize.c (init_tree_optimization_passes): Move pass_merge_phi before the first pass_dominator. From-SVN: r99691
2005-05-14re PR libgcj/21557 (Hash synchronization: Thread.interrupt() can make ↵Bryce McKinlay2-2/+20
_Jv_MonitorEnter hang) 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. From-SVN: r99687
2005-05-14Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r99684.2
2005-05-13arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache unconditional.Richard Earnshaw2-10/+8
* arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache unconditional. From-SVN: r99680
2005-05-13arm.c (arm_size_return_regs): New.Josh Conner2-10/+30
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-13SystemClassLoader.java (init): Handle empty element in path.Tom Tromey2-3/+35
* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty element in path. From-SVN: r99676
2005-05-13sysv4.opt (mlittle): Handle.Aldy Hernandez3-13/+49
* config/rs6000/sysv4.opt (mlittle): Handle. * config/rs6000/rs6000.c (rs6000_handle_option): Set target_flags_explicit when appropriate. From-SVN: r99675
2005-05-13re PR middle-end/20714 (emit_no_conflict_block does invalid reordering)J"orn Rennecke2-18/+48
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-13invoke.texi (Debugging Options): Option -fdump-translation-unit only works ↵Adam Nemet2-2/+7
with C++ now. * doc/invoke.texi (Debugging Options): Option -fdump-translation-unit only works with C++ now. From-SVN: r99673
2005-05-1320041218-2.c: Add __attribute__((packed)).Julian Brown3-2/+7
* 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-13Correct mixup in last entryHans-Peter Nilsson1-2/+2
From-SVN: r99670
2005-05-13Replace calls to abort in CRIS port.Hans-Peter Nilsson4-66/+65
* 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-13re PR rtl-optimization/20769 (bt-load.c doesn't take nonlocal gotos into ↵J"orn Rennecke3-2/+40
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* arm.c (arm_return_in_memory): Add handling for vector return types.Josh Conner2-0/+10
From-SVN: r99666
2005-05-13mips.h (processor_type): Add new PROCESSOR_4KP name.David Ung5-2/+168
* 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-131.cc: Use initialization instead of copying as the string is used only once.Magnus Fromreide5-20/+22
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* MAINTAINERS (Write After Approval): Add self.David Ung2-0/+5
From-SVN: r99662
2005-05-13trans-stmt.c (gfc_trans_forall_1): Fix comment typo.Paul Brook2-1/+5
2005-05-13 Paul Brook <paul@codesourcery.com> * trans-stmt.c (gfc_trans_forall_1): Fix comment typo. From-SVN: r99660
2005-05-13c-decl.c (finish_function): Suppress "control reaches end of non-void ↵Jan Hubicka2-1/+8
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-13builtins-43.c: Use gimple dump instead of generic.Jan Hubicka22-82/+78
* 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-13re PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but ↵Joern Rennecke1-0/+2
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-13Fix last ChangeLog entry.Ulrich Weigand1-1/+1
From-SVN: r99656
2005-05-13re PR rtl-optimization/20756 (Clobbers of deleted insns are processed, but ↵J"orn Rennecke2-1/+16
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-13s390.md: ("DBL"): New mode attribute.Adrian Straetling2-55/+28
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-13c-format.c (check_format_arg): Handle string literals of the form ↵Richard Guenther3-0/+24
&"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-13Update the address and telephone number of the FSF organizationNick Clifton35-36/+49
From-SVN: r99650
2005-05-13create_testsuite_files: Fix.Benjamin Kosnik2-2/+6
2005-05-12 Benjamin Kosnik <bkoz@redhat.com> * scripts/create_testsuite_files: Fix. From-SVN: r99648
2005-05-133000.md, [...]: Update copyright.Kazu Hirata17-16/+28
* 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[multiple changes]Bryce McKinlay7-5/+45
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-13numeric_limits.cc (dg-options): Add -mieee to options on sh*-*-*.Kaz Kojima2-0/+6
* testsuite/18_support/numeric_limits.cc (dg-options): Add -mieee to options on sh*-*-*. From-SVN: r99643