- 01 Jul, 2007 9 commits
-
-
From-SVN: r126170
Andreas Schwab committed -
2007-07-01 Richard Sandiford <richard@codesourcery.com> Unreverting Richard's Revert of: 2007-06-27 Richard Sandiford <richard@codesourcery.com> * dce.c (deletable_insn_p_1): New function, split out from... (deletable_insn_p): ...here. Only treat bare USEs and CLOBBERs specially, not those inside PARALLELs. Remove BODY argument and adjust recursive call accordingly. (prescan_insns_for_dce): Update call to delete_insn_p. From-SVN: r126168
Richard Sandiford committed -
Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r126167
Vladimir Yanovsky committed -
2007-07-01 Janne Blomqvist <jb@gcc.gnu.org> * trans.h: Remove decls for 64-bit allocation functions. * trans-array.c (gfc_grow_array): Always pick the standard realloc function decl. (gfc_array_allocate): Likewise. * trans-decl.c: Remove trees for 64-bit allocation functions. (gfc_build_builtin_function_decls): Don't build fndecls for 64-bit allocations functions, use index_int_type for normal allocation functions. libgfortran changelog: 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org> * runtime/memory.c (internal_realloc): Use index_type for size argument instead of GFC_INTEGER_4. (allocate_array): Likewise. (allocate): Likewise, add ifdef around unnecessary check. (internal_reallo64): Remove. (allocate_array64): Remove. (allocate64): Remove. * gfortran.map: Remove symbols for 64-bit allocation functions. From-SVN: r126166
Janne Blomqvist committed -
vect-strided-store-u16-i4.c: Remove abort() from input initialization and fix dg-final check - the... * gcc.dg/vect/vect-strided-store-u16-i4.c: Remove abort() from input initialization and fix dg-final check - the initialization loop is vectorizable. From-SVN: r126165
Ira Rosen committed -
PR middle-end/32559 * fold-const.c (fold-binary) [PLUS_EXPR]: Convert ~X + X to 1 or X + ~X to 1 only for INTEGRAL_TYPE_P type. testsuite/ChangeLog: PR middle-end/32559 * gcc.dg/pr32559.c: New test. From-SVN: r126164
Uros Bizjak committed -
PR tree-optimization/25371 * gcc.dg/vect/pr25371.c: New test. From-SVN: r126163
Uros Bizjak committed -
2007-06-30 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (is_exception_related): New function (can_value_number_operation): Use it. From-SVN: r126162
Daniel Berlin committed -
From-SVN: r126160
GCC Administrator committed
-
- 30 Jun, 2007 21 commits
-
-
* configure.ac: Check for .gnu_attribute on MIPS. * configure, config.in: Regenerate. * config/mips/mips.c (mips_file_start): If supported, output attribute for floating-point ABI. From-SVN: r126157
Joseph Myers committed -
* gcc.c-torture/execute/20051113-1.c (main): Use the correct type when allocating and initializing a flexible array. From-SVN: r126156
Nathan Froyd committed -
* gcc_update (files_and_dependencies): Handle gcc/testsuite/gcc.dg/cpp/direct2s.c. From-SVN: r126155
Hans-Peter Nilsson committed -
PR target/32433 * config/i386/i386.md (ffssi2): Expand as ffs_cmove for TARGET_CMOVE. (ffs_cmove): New expander to expand using ctz pattern. (*ffs_cmove): Remove pattern. (*ffs_no_cmove): Enable only for !TARGET_CMOVE. (ffsdi2): Expand using ctz pattern. (*ffs_rex64): Remove pattern. From-SVN: r126154
Uros Bizjak committed -
gcc/fortran: 2007-06-30 Daniel Franke <franke.daniel@gmail.com> PR fortran/20373 * intrinsic.c (add_functions): Additional function types. (gfc_convert_type_warn): Remove intrinsic-flag from conversion functions. * resolve.c (resolve_symbol): Added type checks to explicitly defined intrinsics. gcc/testsuite: 2007-06-28 Daniel Franke <franke.daniel@gmail.com> PR fortran/20373 * gfortran.dg/intrinsic.f90: New test. From-SVN: r126153
Daniel Franke committed -
2007-06-30 Tobias Burnus <burnus@net-b.de> PR fortran/32555 * io.c (check_format): Allow zero to precede the P edit descriptor. 2007-06-30 Tobias Burnus <burnus@net-b.de> PR fortran/32555 * gfortran.dg/fmt_zero_check.f90: New. From-SVN: r126152
Tobias Burnus committed -
From-SVN: r126151
John David Anglin committed -
rtl-optimization/32296 * pa.md (return): Delete pattern. (return_internal): Remove "(const_int 1)" from pattern. (epilogue): Use return_internal pattern for trivial returns. * pa-protos.h (hppa_can_use_return_insn_p): Delete declaration. * pa.c (hppa_can_use_return_insn_p): Delete function. Include "df.h". From-SVN: r126150
John David Anglin committed -
2007-06-30 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/32540 Fix PR tree-optimization/31651 * tree-ssa-sccvn.c: New file. * tree-ssa-sccvn.h: Ditto. * tree-vn.c: Include tree-ssa-sccvn.h (val_expr_paid_d): Removed. (value_table): Ditto. (vn_compute): Ditto. (val_expr_pair_hash): Ditto. (val_expr_pair_expr_eq): Ditto. (copy_vuses_from_stmt): Ditto. (vn_delete): Ditto. (vn_init): Ditto. (shared_vuses_from_stmt): Ditto. (print_creation_to_file): Moved up. (sort_vuses): Ditto. (sort_vuses_heap): Ditto. (set_value_handle): Make non-static. (make_value_handle): Ditto. (vn_add): Rewritten to use sccvn lookups. (vn_add_with_vuses): Ditto. (vn_lookup): Ditto (and second argument removed). (vn_lookup_with_vuses): Ditto. (vn_lookup_or_add): Ditto (and second argument removed); (vn_lookup_or_add_with_vuses): Ditto. (vn_lookup_with_stmt): New. (vn_lookup_or_add_with_stmt): Ditto. (create_value_handle_for_expr): Ditto. * tree-ssa-pre.c: Include tree-ssa-sccvn.h. (seen_during_translate): New function. (phi_trans_lookup): Use iterative_hash_expr, not vn_compute. (phi_trans_add): Ditto. (constant_expr_p): FIELD_DECL is always constant. (phi_translate_1): Renamed from phi_translate, add seen bitmap. Use constant_expr_p. Avoid infinite recursion on mutually valued expressions. Change callers of vn_lookup_or_add. (phi_translate): New function. (compute_antic_safe): Allow phi nodes. (create_component_ref_by_pieces): Update for FIELD_DECL change. (find_or_generate_expression): Rewrite slightly. (create_expression_by_pieces): Updated for vn_lookup_or_add change. Update VN_INFO for new names. (insert_into_preds_of_block): Update for new names. (add_to_exp_gen): New function. (add_to_sets): Use vn_lookup_or_add_with_stmt. (find_existing_value_expr): Rewrite to changed vn_lookup. (create_value_expr_from): Ditto, and use add_to_exp_gen. (try_look_through_load): Removed. (try_combine_conversion): Ditto. (get_sccvn_value): New function. (make_values_for_phi): Ditto. (make_values_for_stmt): Ditto. (compute_avail): Rewritten for vn_lookup_or_add changes and to use SCCVN. (init_pre): Update for SCCVN changes. (fini_pre): Ditto. (execute_pre): Ditto. * tree-flow.h (make_value_handle): Declare. (set_value_handle): Ditto. (sort_vuses_heap): Ditto. (vn_lookup_or_add_with_stmt): Ditto. (vn_lookup_with_stmt): Ditto. (vn_compute): Remove. (vn_init): Ditto. (vn_delete): Ditto. (vn_lookup): Update arguments. * Makefile.in (tree-ssa-pre.o): Add tree-ssa-sccvn.h (tree-vn.o): Ditto. (tree-ssa-sccvn.o): New. (OBJS-common): Add tree-ssa-sccvn.o From-SVN: r126149
Daniel Berlin committed -
re PR fortran/32472 (ICE in trans-const.c:106 for REPEAT initialization expression of non-parameter) 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/32472 * simplify.c (gfc_simplify_repeat): Add handling of character literal for first argument. 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/30284 * gfortran.dg/repeat_f90: New test. From-SVN: r126148
Paul Thomas committed -
re PR fortran/32472 (ICE in trans-const.c:106 for REPEAT initialization expression of non-parameter) 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/32472 * simplify.c (gfc_simplify_repeat): Add handling of character literal for first argument. 2007-06-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/30284 * gfortran.dg/repeat_f90: New test. From-SVN: r126147
Paul Thomas committed -
2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/cpp/20000625-1.c: Without dg-options the default is -pedantic-errors, so we should match errors. * gcc.dg/cpp/escape-1.c: Likewise. * gcc.dg/cpp/charconst.c: Empty character constants are errors. * gcc.dg/cpp/direct2.c: This is a mandatory error instead of a warning. * gcc.dg/cpp/endif-pedantic2.c: Use -pedantic-errors to obtain errors instead of warnings. * gcc.dg/cpp/extratokens.c: Use dg-warning instead of dg-error for a pedantic warning. * gcc.dg/cpp/arith-3.c: Likewise. From-SVN: r126146
Manuel López-Ibáñez committed -
2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/pch/valid-1.c: Match each diagnostic with its own directive. * gcc.dg/pch/valid-2.c: Likewise. * gcc.dg/pch/valid-3.c: Likewise. * gcc.dg/pch/warn-1.c: Likewise. * gcc.dg/pch/valid-4.c: Match a warning instead of an error. From-SVN: r126145
Manuel López-Ibáñez committed -
2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c/4076 * c-typeck.c (build_external_ref): Don't mark as used if called from itself. * calls.c (rtx_for_function_call): Likewise. testsuite/ * gcc.dg/Wunused-function.c: New. From-SVN: r126144
Manuel López-Ibáñez committed -
gcc/ Revert: 2007-06-27 Richard Sandiford <richard@codesourcery.com> * dce.c (deletable_insn_p_1): New function, split out from... (deletable_insn_p): ...here. Only treat bare USEs and CLOBBERs specially, not those inside PARALLELs. Remove BODY argument and adjust recursive call accordingly. (prescan_insns_for_dce): Update call to delete_insn_p. From-SVN: r126143
Richard Sandiford committed -
* combine.c (combine_validate_cost): New parameter NEWOTHERPAT. (try_combine): Move potential calls to undo_all() so they happen before we commit to using the combined insns. From-SVN: r126142
Rask Ingemann Lambertsen committed -
* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit code. From-SVN: r126141
Jan Hubicka committed -
* ipa.c (cgraph_postorder): Cast according to the coding conventions. (cgraph_remove_unreachable_nodes): Likewise. * ipa-cp.c (ipcp_propagate_stage): Use BOTTOM instead of integer 0. * ipa-inline.c (update_caller_keys): Cast according to the coding conventions. (cgraph_decide_recursive_inlining): Likewise. (cgraph_decide_inlining_of_small_function): Likewise. (try_inline): Likewise. (cgraph_decide_inlining_incrementally): Likewise. * ipa-pure-const.c (get_function_state): Likewise. (scan_function): Likewise. (analyze_function): Likewise. (static_execute): Likewise. * gcc/ipa-reference.c (scan_for_static_refs): Likewise. (merge_callee_local_info): Likewise. (analyze_function): Use type safe memory macros. (static_execute): Likewise. Cast according to the coding conventions. * ipa-type-escape.c (scan_for_regs): Cast according to the coding conventions. * ipa-utils.c (searchc): Likewise. Avoid using C++ keywords as variable names. (ipa_utils_reduced_inorder): Likewise. Use type safe memory macros. * ipa-utils.h (struct ipa_dfa_info): Avoid using C++ keywords as variable names. From-SVN: r126140
Thomas Neumann committed -
2007-06-29 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/30024 * emit-rtl.c (init_emit_once): Intilize const_tiny_rtx[0] for complex modes (both int and real). From-SVN: r126137
Andrew Pinski committed -
2007-06-29 Andrew Pinski <andrew_pinski@playstation.sony.com> * emit-rtl.c (init_emit_once): Intilize const_tiny_rtx[0] for complex modes (both int and real). From-SVN: r126136
Andrew Pinski committed -
From-SVN: r126134
GCC Administrator committed
-
- 29 Jun, 2007 10 commits
-
-
2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.fortran-torture/compile/inline_1.f90: Fix test. From-SVN: r126131
Jerry DeLisle committed -
From-SVN: r126130
Jan Hubicka committed -
2007-06-29 Douglas Gregor <doug.gregor@gmail.com> PR c++/31724 * init.c (build_new_1): Use structural equality on the copy of the array type. 2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/other/canon-31724.C: New. From-SVN: r126124
Doug Gregor committed -
PR middle-end/32372 * cse.c (cse_insn): Avoid invalid sharing in between register note and the insn pattern. From-SVN: r126122
Jan Hubicka committed -
PR target/32335 * config/avr/avr.c: Include dataflow header file. (expand_prologue): Adjust for prologue insn change. * config/avr/avr.md (call_prologue_saves): Only modify REG_SP once inside a insn. From-SVN: r126121
Anatoly Sokolov committed -
2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force C++98 mode. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto. From-SVN: r126120
Doug Gregor committed -
2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/32456 * io/unit.c (filename_from_unit): Don't use find_unit, instead search for unit directly. From-SVN: r126119
Jerry DeLisle committed -
gcc/fortran: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> PR fortran/31580 * resolve.c (resolve_operator): Added check whether a user defined operator is available. gcc/testsuite: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> PR fortran/31580 * gfortran.dg/operator_3.f90: New test. From-SVN: r126117
Daniel Franke committed -
From-SVN: r126116
Daniel Franke committed -
gcc/fortran: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> * openmp.c (resolve_omp_clauses): Adjust error message to better reflect the actual requirement. gcc/testsuite: 2007-06-29 Daniel Franke <franke.daniel@gmail.com> * gfortran.dg/gomp/reduction1.f90: Adjust error message. * gfortran.dg/gomp/allocatable_components_1.f90: Likewise. From-SVN: r126115
Daniel Franke committed
-