aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-03-08tree-cfg.c (cleanup_control_flow): If removal of a computed goto results in ↵Jeff Law2-1/+16
the removal of edges in the CFG... * tree-cfg.c (cleanup_control_flow): If removal of a computed goto results in the removal of edges in the CFG, then we need to recompute dominators. From-SVN: r96160
2005-03-09* c-common.c (c_do_switch_warnings): Comment fix.Ben Elliston2-1/+5
From-SVN: r96150
2005-03-09Daily bump.GCC Administrator1-1/+1
From-SVN: r96146
2005-03-08* Revert patch from 2005-03-08 for causing bootstrap failure onJulian Brown2-7/+5
ppc-darwin. From-SVN: r96138
2005-03-08* Patch from 2005-03-08 reverted for causing regressions andJulian Brown2-9/+6
ppc-darwin bootstrap failure. From-SVN: r96136
2005-03-09Formatting fixes.Ben Elliston1-21/+21
From-SVN: r96134
2005-03-09vlad.exp: Remove trailing semicolons.Ben Elliston23-186/+210
* consistency.vlad/vlad.exp: Remove trailing semicolons. * g++.dg/gcov/gcov.exp: Likewise. * gcc.c-torture/execute/ieee/ieee.exp: Likewise. * gcc.target/xstormy16/xstormy16.exp: Likewise. * lib/c-torture.exp: Likewise. * lib/fortran-torture.exp: Likewise. * lib/g++.exp: Likewise. * lib/gcc-defs.exp: Likewise. * lib/gcc-dg.exp: Likewise. * lib/gcc.exp: Likewise. * lib/gcov.exp: Likewise. * lib/gfortran.exp: Likewise. * lib/mike-g++.exp: Likewise. * lib/mike-gcc.exp: Likewise. * lib/objc-torture.exp: Likewise. * lib/objc.exp: Likewise. * lib/profopt.exp: Likewise. * lib/target-libpath.exp: Likewise. * lib/target-supports.exp: Likewise. * lib/treelang.exp: Likewise. * lib/wrapper.exp: Likewise. From-SVN: r96132
2005-03-08system-linux-sparc.ads: Fix typo in previous commit.Laurent GUERBY2-1/+5
2005-03-08 Laurent Guerby <laurent@guerby.net> * system-linux-sparc.ads: Fix typo in previous commit. From-SVN: r96126
2005-03-08Target Hook to issue diagnostics for AltiVec argument to funtion with ↵Fariborz Jahanian9-1/+86
unknown prototype. Target Hook to issue diagnostics for AltiVec argument to funtion with unknown prototype. OKed by Mark Mitchel. From-SVN: r96124
2005-03-08Remove spurious blank line.Tobias Schlüter1-1/+0
From-SVN: r96123
2005-03-0820030728-1.c: Update to account for recent PHI-OPT changes.Jeff Law2-2/+7
* gcc.dg/tree-ssa/20030728-1.c: Update to account for recent PHI-OPT changes. From-SVN: r96115
2005-03-08[multiple changes]Bryce McKinlay1-0/+4
2005-03-07 Ranjit Mathew <rmathew@hotmail.com> * lang.c (flag_new_verifier): Enable by default, regardless of ABI. 2005-03-08 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail. * testsuite/libjava.lang/pr13107_3.xfail: Likewise. From-SVN: r96114
2005-03-08gimple-low.c (lower_stmt_body): Make it static.Kazu Hirata1-2/+0
* gimple-low.c (lower_stmt_body): Make it static. * tree-flow.h: Remove the corresponding prototype. Don't declare lower_data. From-SVN: r96113
2005-03-08* stor-layout.c (lang_adjust_rli): Make it static.Kazu Hirata2-1/+3
From-SVN: r96112
2005-03-08* sched-deps.c (cache_size): Make it static.Kazu Hirata2-1/+3
From-SVN: r96111
2005-03-08gimple-low.c (lower_stmt_body): Make it static.Kazu Hirata2-1/+5
* gimple-low.c (lower_stmt_body): Make it static. * tree-flow.h: Remove the corresponding prototype. Don't declare lower_data. From-SVN: r96110
2005-03-08* cfg.c (rbi_pool): Make it static.Kazu Hirata2-1/+3
From-SVN: r96109
2005-03-08c-typeck.c (constructor_stack, [...]): Make them static.Kazu Hirata2-3/+8
* c-typeck.c (constructor_stack, constructor_range_stack, initializer_stack): Make them static. From-SVN: r96108
2005-03-08elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK from being used ↵Julian Brown2-1/+15
for symbols with vague linkage when... * config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK from being used for symbols with vague linkage when HAVE_GAS_COMDAT_GROUP is true. From-SVN: r96107
2005-03-08* decl.c (finish_method): Give methods once-only linkage.Julian Brown2-0/+11
From-SVN: r96106
2005-03-08jump.c (invert_jump_1): Don't call redirect_jump_1 with nlabel == JUMP_LABEL ↵J"orn Rennecke2-1/+8
(jump). * jump.c (invert_jump_1): Don't call redirect_jump_1 with nlabel == JUMP_LABEL (jump). From-SVN: r96105
2005-03-08c-common.c, [...]: Fix comment formatting.Kazu Hirata15-20/+28
* c-common.c, c-opts.c, combine.c, cse.c, dojump.c, gimplify.c, tree-dfa.c, tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-sink.c, tree-vect-analyze.c, tree.def, tree.h: Fix comment formatting. From-SVN: r96104
2005-03-08re PR c/14411 (Request for setjmp/longjmp attributes)Alexey Neyman6-2/+77
PR c/14411 * calls.c (flags_from_decl_or_type): Handle eturns_twice' attribute. * c-common.c (handle_returns_twice): New function. (c_common_attribute_table): Declare eturns_twice' attribute. * doc/extend.texi: Document eturns_twice' attribute. * tree.h (DECL_IS_RETURNS_TWICE): New macro. (struct tree_decl): Add returns_twice_flag. From-SVN: r96101
2005-03-08c-semantics.c, [...]: Update copyright.Kazu Hirata12-11/+18
* c-semantics.c, cfghooks.c, diagnostic.h, loop-iv.c, loop-unswitch.c, modulo-sched.c, stor-layout.c, tree-gimple.h, config/i386/cygwin1.c, doc/cfg.texi, doc/objc.texi: Update copyright. From-SVN: r96100
2005-03-08* tree-ssa-phiopt.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r96099
2005-03-08alpha.c (code_for_builtin): Replace special-case builtin codes with ctzdi2, ↵Richard Henderson3-90/+571
clzdi2, popcountdi2. * config/alpha/alpha.c (code_for_builtin): Replace special-case builtin codes with ctzdi2, clzdi2, popcountdi2. (struct alpha_builtin_def): Add is_const. (zero_arg_builtins, one_arg_builtins, two_arg_builtins): Init it. (alpha_v8qi_u, alpha_v8qi_s, alpha_v4hi_u, alpha_v4hi_s): New. (alpha_init_builtins): Init them. Set nothrow and const attributes on builtins. (alpha_fold_builtin_cmpbge, alpha_fold_builtin_zapnot, alpha_fold_builtin_extxx, alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx, alpha_fold_builtin_umulh, alpha_fold_vector_minmax, alpha_fold_builtin_perr, alpha_fold_builtin_pklb, alpha_fold_builtin_pkwb, alpha_fold_builtin_unpkbl, alpha_fold_builtin_unpkbw, alpha_fold_builtin_cttz, alpha_fold_builtin_ctlz, alpha_fold_builtin_ctpop, alpha_fold_builtin): New. (TARGET_FOLD_BUILTIN): New. * config/alpha/alpha.md (UNSPEC_CTTZ): Remove. (UNSPEC_CTLZ, UNSPEC_CTPOP): Remove. (ffsdi2): Use ctz. (cttz, builtin_cttz, builtin_ctlz, builtin_ctpop): Remove. From-SVN: r96098
2005-03-08re PR ada/20035 (failed run-time assertion : Tasking not implemented on this ↵James A. Morrison3-0/+183
configuration on sparc-linux) 2005-03-07 James A. Morrison <phython@gcc.gnu.org> Laurent Guerby <laurent@guerby.net> PR ada/20035 * system-linux-sparc.ads: New. * Makefile.in: Add sparc linux entry. Co-Authored-By: Laurent GUERBY <laurent@guerby.net> From-SVN: r96097
2005-03-08tree-vect-analyze.c (vect_object_analysis): Analyze initial condition of ↵Ira Rosen4-3/+52
access function instead of base. * tree-vect-analyze.c (vect_object_analysis): Analyze initial condition of access function instead of base. From-SVN: r96092
2005-03-07* gcc.dg/tree-ssa/pr18134.c: New test.Jeff Law2-0/+26
From-SVN: r96087
2005-03-07Add Steven to the ChangeLog entry.Jeff Law1-0/+1
From-SVN: r96086
2005-03-0720030821-1.c: Verify that the computed goto was folded away.Jeff Law4-1/+80
* gcc.dg/tree-ssa/20030821-1.c: Verify that the computed goto was folded away. * gcc.dg/tree-ssa/pr18133-1.c: New test. * gcc.dg/tree-ssa/pr18133-2.c: New test. From-SVN: r96085
2005-03-07tree-cfg.c (find_taken_edge_computed_goto): New function.Jeff Law4-6/+114
* tree-cfg.c (find_taken_edge_computed_goto): New function. (find_taken_edge): Call find_taken_edge_computed_goto as appropriate. Allow any gimple invariant rather than just INTEGER_CST for VAL. (cleanup_control_flow): Cleanup a computed goto which has turned into a simple goto. (tree_merge_blocks): If block B has any forced labels, move them to the start of block A. * tree-ssa-dom.c (thread_across_edge): Allow threading across computed gotos as well. * tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges): Handle removal of unnecessary computed gotos too. (lookup_redirection_data): Fix type of INSERT argument. Callers updated. From-SVN: r96084
2005-03-08tree-ssa-phiopt.c (tree_ssa_phiopt, [...]): Remove unused variable i.Kazu Hirata2-2/+3
* tree-ssa-phiopt.c (tree_ssa_phiopt, replace_phi_edge_with_variable): Remove unused variable i. From-SVN: r96083
2005-03-08diagnostic.h: Remove unused prototype debug_output_buffer.Kazu Hirata3-4/+5
* diagnostic.h: Remove unused prototype debug_output_buffer. * modulo-sched.c: Remove unused prototype set_row_column_for_ps. From-SVN: r96080
2005-03-08gimplify.c (gimple_push_bind_expr, [...]): Make them static.Kazu Hirata3-6/+7
* gimplify.c (gimple_push_bind_expr, gimple_pop_bind_expr, unshare_all_trees): Make them static. * tree-gimple.h: Remove the corresponding prototypes. From-SVN: r96079
2005-03-08tree-ssa-phiopt.c: Update copyright.Kazu Hirata2-74/+75
* tree-ssa-phiopt.c: Update copyright. Fix indentations. Remove trailing spaces. From-SVN: r96078
2005-03-08weak1.C: Skip test on hppa*-*-hpux*.John David Anglin5-0/+11
* g++.dg/warn/weak1.C: Skip test on hppa*-*-hpux*. * g++.dg/init/dso_handle1.C, gcc.dg/torture/builtin-noret-1.c, gcc.dg/torture/builtin-noret-2.c: Require weak support. From-SVN: r96077
2005-03-07* tree.h (DECL_IS_BUILTIN): Reverted my patch from earlier today.Per Bothner2-5/+5
From-SVN: r96075
2005-03-07re PR tree-optimization/17671 (PHI-OPT is not smart enough)Andrew Pinski7-152/+245
2005-03-06 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17671 * tree-ssa-phiopt.c (tree_ssa_phiopt): Rewrite so we base the bbs on the COND_EXPR instead of the PHI_NODEs. (candidate_bb_for_phi_optimization): Remove. (replace_phi_with_stmt): Rename to ... (replace_phi_edge_with_variable): this and change so that we replace the phi argument instead of removing the PHI. (conditional_replacement): Change so we deal with PHI with more than two arguments. (value_replacement): Likewise. (abs_replacement): Likewise. 2005-03-06 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17671 * gcc.dg/tree-ssa/phi-opt-[1-4].c: New tests. From-SVN: r96067
2005-03-08rs6000-protos.h: Rename output_e500_flip_eq_bit to output_e500_flip_gt_bit.Aldy Hernandez5-27/+51
* config/rs6000/rs6000-protos.h: Rename output_e500_flip_eq_bit to output_e500_flip_gt_bit. * config/rs6000/rs6000.c (print_operand): case D: Print out bit 31 as bit 31. (rs6000_generate_compare): Fix logic to look at the correct bits. (output_e500_flip_eq_bit): Rename to output_e500_flip_gt_bit. Look at GT bit. (rs6000_emit_sCOND): Rename gen_e500_flip_eq_bit to gen_e500_flip_gt_bit. Rename gen_move_from_CR_eq_bit to gen_move_from_CR_gt_bit. * config/rs6000/rs6000.md ("move_from_CR_eq_bit"): Change bit ("move_from_CR_eq_bit"): Rename to move_from_CR_gt_bit. (UNSPEC_MV_CR_EQ): Rename to UNSPEC_MV_CR_GT. * config/rs6000/spe.md ("e500_cr_ior_compare"): New. (E500_CR_IOR_COMPARE): New constant. [[Split portion of a mixed commit.]] From-SVN: r96063.2
2005-03-08Daily bump.GCC Administrator1-1/+1
From-SVN: r96058
2005-03-07class.c (finish_struct_1): Do not warn about non-virtual destructors in Java ↵Mark Mitchell4-1/+22
classes. * class.c (finish_struct_1): Do not warn about non-virtual destructors in Java classes. * g++.dg/warn/Wnvdtor.C: New test. From-SVN: r96054
2005-03-07host-cygwin.c: New file to support precompiled headers on cygwinEarl Chew4-0/+95
2005-03-08 Earl Chew <earl_chew@agilent.com> David Billinghurst <David.Billinghurst@riotinto.com> * config/i386/host-cygwin.c: New file to support precompiled headers on cygwin * config/i386/x-cygwin: Use host-cygwin.c on cygwin host * config.host: Use above files for cygwin host. Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com> From-SVN: r96050
2005-03-07fold-const.c (fold_binary_op_with_conditional_arg): Fix typo ordering ops ↵David Edelsohn2-1/+6
from earlier change. * fold-const.c (fold_binary_op_with_conditional_arg): Fix typo ordering ops from earlier change. From-SVN: r96046
2005-03-07Various fixes to allow us to again build if --enable-mapped-location:Per Bothner6-8/+34
* c-decl.c (finish_function): Use SET_EXPR_LOCATION instead of unavailable annotate_with_file_line, if USE_MAPPED_LOCATION. * tree-cfg.c (remove_bb): If USE_MAPPED_LOCATION, change type of local variable loc. Change logic appropriately. * tree-vect-transform.c (vect_finish_stmt_generation): Use EXPR_LOCATION rather than EXPR_LOCUS if USE_MAPPED_LOCATION. * c-parser.c (c_parser_for_statement): Initialize loc variable. * tree.h (DECL_IS_BUILTIN): Temporarily revert definition of DECL_IS_BUILTIN in the USE_MAPPED_LOCATION because of jc1 issues. From-SVN: r96045
2005-03-07[multiple changes]Bryce McKinlay5-191/+37
2005-03-04 Bryce McKinlay <mckinlay@redhat.com> * verify-glue.c (vfy_is_assignable_from): Perform static check using can_widen_reference_to if the C++ ABI is in use. (vfy_get_interface_count, vfy_get_interface): Remove unused functions. * verify-impl.c (debug_print, make_utf8_const, init_type, copy_type, type_isresolved, init_state, set_pc, state_get_pc, _Jv_BytecodeVerifier): Clean up unused and disabled functions. (verify_fail): Report the current PC from the verifier context. (free_state): Remove #if 0 block to enable this function. (free_verifier_context): Call free_state on state_list iterator values before freeing them. * expr.c (pop_type_0): Pop correct type for error message when stack contains a multi-word type. 2005-03-04 Ranjit Mathew <rmathew@hotmail.com> * expr.c (build_java_array_length_access): Remove !flag_new_verifier for known NULL array length access. From-SVN: r96044
2005-03-07gcj.texi (Invoking gcj-dbtool): Document '-f'.Tom Tromey2-2/+10
gcc/java: * gcj.texi (Invoking gcj-dbtool): Document '-f'. libjava: * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'. (usage): Document '-f'. From-SVN: r96041
2005-03-07re PR rtl-optimization/19683 (MIPS wrong-code for 64-bit multiply.)Richard Sandiford4-9/+61
PR rtl-optimization/19683 * reload1.c (choose_reload_regs): Pass the number of bits, not the number of bytes, to smallest_int_for_mode. Fix arguments to REG_CANNOT_CHANGE_MODE_P. From-SVN: r96033
2005-03-07Change ChangeLog file names from a numeric index (ChangeLog.N) to aIan Lance Taylor14-101874/+101847
year based name (ChangeLog-YYYY). This change does not itself get a ChangeLog entry. From-SVN: r96028
2005-03-07reorg.c (relax_delay_slots): Check that the jump is conditional before ↵Eric Botcazou2-0/+6
trying to invert it. * reorg.c (relax_delay_slots): Check that the jump is conditional before trying to invert it. From-SVN: r96027