(remove_stmt_references): Likewise.
(ipa_clear_stmts_in_references): New function.
* ipa-ref.h (ipa_clear_stmts_in_references): Declare.
- * cgraphclones.c (cgraph_materialize_all_clones): Remove or clear references.
+ * cgraphclones.c (cgraph_materialize_all_clones): Remove or
+ clear references.
* ipa-split.c (split_function): Remove references in split function.
2013-08-08 Richard Earnshaw <rearnsha@arm.com>
2013-08-07 Oleg Endo <olegendo@gcc.gnu.org>
PR other/12081
- config/rs6000/rs6000.c (gen_2arg_fn_t): Remove typedef.
+ * config/rs6000/rs6000.c (gen_2arg_fn_t): Remove typedef.
(rs6000_emit_swdiv, rs6000_emit_swrsqrt): Don't cast result of GEN_FCN
to gen_2arg_fn_t.
2013-08-07 David Malcolm <dmalcolm@redhat.com>
- * config/sparc/sparc.c (insert_pass_work_around_errata): Move
- into...
+ * config/sparc/sparc.c (insert_pass_work_around_errata): Move into...
(sparc_option_override): ...and port to new C++ pass API.
* config/sparc/t-sparc (sparc.o): Add dep on CONTEXT_H
2013-08-06 David Malcolm <dmalcolm@redhat.com>
- * config/mips/mips.c (insert_pass_mips_machine_reorg2): Move
- into...
- (mips_option_override): ...here, porting to new C++ API for
- passes.
+ * config/mips/mips.c (insert_pass_mips_machine_reorg2): Move into...
+ (mips_option_override): ...here, porting to new C++ API for passes.
2013-08-06 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_get_body): New function based on lto.c
implementation.
* cgraph.h (cgraph_get_body): Declare.
- * cgraphclones.c (cgraph_create_virtual_clone): Commonize WPA and LTO paths.
+ * cgraphclones.c (cgraph_create_virtual_clone): Commonize WPA and
+ LTO paths.
* cgraphunit.c (expand_function): Get body prior expanding.
* ipa.c (function_and_variable_visibility): Use gimple_has_body_p test.
- * lto-cgraph.c (lto_output_node): Do not stream bodies we don't really need.
+ * lto-cgraph.c (lto_output_node): Do not stream bodies we don't
+ really need.
* passes.c (do_per_function_toporder): Get body.
* tree-inline.c (expand_call_inline): Get body prior inlining it.
* tree-ssa-structalias.c (ipa_pta_execute): Get body; skip clones.
methods, rewrite this function to eliminate XNEW and memcpy
calls that used hardcoded sizes. Since this function no longer
creates pass instances, rename it to...
- (add_pass_instance): ...this. Document the old way that passes
- were numbered and flagged, and rework this function to continue
- using it.
+ (add_pass_instance): ...this. Document the old way that passes were
+ numbered and flagged, and rework this function to continue using it.
(next_pass_1): Add an initial_pass argument for use by
add_pass_instance.
(position_pass): When adding multiple instances of a pass, use
the pass's clone method, rather than relying on the XNEW/memcpy
within the former make_pass_instance (now add_pass_instance).
- (pass_manager::pass_manager): When invoking next_pass_1, also
- supply the initial instance of the current pass within the
- pass manager.
+ (pass_manager::pass_manager): When invoking next_pass_1, also supply
+ the initial instance of the current pass within the pass manager.
2013-08-05 David Malcolm <dmalcolm@redhat.com>
* toplev.h (finish_optimization_passes): Move to method of class
pass_manager.
* tree-pass.h (struct pass_data): New.
- (opt_pass): Convert to C++ class, make it a subclass of
- pass_data.
+ (opt_pass): Convert to C++ class, make it a subclass of pass_data.
(opt_pass::gate): Convert to virtual function.
(opt_pass::~opt_pass): New.
(opt_pass::clone): New.
global to a member of gcc::pass_manager.
(ix86_option_override): Rework how pass_insert_vzeroupper is
added to the pass_manager to reflect autogenerated changes.
- * config/i386/t-i386 (i386.o) Add deps on CONTEXT_H and
- PASS_MANAGER_H.
+ * config/i386/t-i386 (i386.o) Add deps on CONTEXT_H and PASS_MANAGER_H.
2013-08-05 Richard Earnshaw <rearnsha@arm.com>
2013-08-05 Jan Hubicka <jh@suse.cz>
PR lto/57602
- * cgraph.c (verify_cgraph_node): Accept local flags from other partitions.
+ * cgraph.c (verify_cgraph_node): Accept local flags from other
+ partitions.
* ipa.c (symtab_remove_unreachable_nodes): Do not clear local flag.
(function_and_variable_visibility): Likewise.
* trans-mem.c (ipa_tm_create_version): TM versions are not local.
* cgraphunit.c (add_new_function): Fix logic when adding from
late IPA pass.
(assemble_thunk): Rename to ...
- (expand_thunk); .. this one; export; get it working with general functions;
- make produced gimple valid.
+ (expand_thunk); .. this one; export; get it working with
+ general functions; make produced gimple valid.
* cgraph.h (expand_thunk): Declare.
2013-08-02 Jan Hubicka <jh@suse.cz>
- * ipa-cp.c (gather_context_independent_values): Use ipa_get_param_move_cost.
- (get_replacement_map): Remove PARAM; move parameter folding into tree-inline.c
+ * ipa-cp.c (gather_context_independent_values): Use
+ ipa_get_param_move_cost.
+ (get_replacement_map): Remove PARAM; move parameter folding
+ into tree-inline.c
(create_specialized_node): Update.
* ipa-prop.c (ipa_populate_param_decls): Do not look for origins;
assert that we have gimple body; update move_cost.
2013-08-02 Jan Hubicka <jh@suse.cz>
Martin Liska <marxin.liska@gmail.com>
- * cgraph.c (cgraph_function_body_availability): Do not check cgrpah flags.
+ * cgraph.c (cgraph_function_body_availability): Do not check
+ cgraph flags.
* cgraph.h (symtab_for_node_and_aliases, symtab_nonoverwritable_alias,
symtab_node_availability): Declare.
* ipa.c (can_replace_by_local_alias): New.
(function_and_variable_visibility): Use it.
- * symtab.c (symtab_for_node_and_aliases, symtab_nonoverwritable_alias_1,
- symtab_nonoverwritable_alias): New.
+ * symtab.c (symtab_for_node_and_aliases,
+ symtab_nonoverwritable_alias_1, symtab_nonoverwritable_alias): New.
2013-08-02 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/57963
- * lra-constraints.c (reverse_equiv_p, contains_reloaded_insn_p):
- New.
+ * lra-constraints.c (reverse_equiv_p, contains_reloaded_insn_p): New.
(lra_constraints): Use them.
2013-08-02 Sofiane Naci <sofiane.naci@arm.com>
- * config/arm/types.md (define_attr "type"): Add "load_acq" and "store_rel".
+ * config/arm/types.md (define_attr "type"): Add "load_acq"
+ and "store_rel".
* config/arm/cortex-a53.md (cortex_a53_load1): Update for attribute
changes.
(cortex_a53_store1): Likewise.
2013-08-01 Jan Hubicka <jh@suse.cz>
- * ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are
- not needed.
+ * ipa.c (symtab_remove_unreachable_nodes): Nodes in other
+ partitions are not needed.
2013-08-01 Uros Bizjak <ubizjak@gmail.com>
2013-08-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
- * config/arm/arm.md (minmax_arithsi_non_canon): Emit canonical RTL form
- when subtracting a constant.
+ * config/arm/arm.md (minmax_arithsi_non_canon): Emit canonical
+ RTL form when subtracting a constant.
2013-08-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>