summaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-02 14:30:50 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-02 14:30:50 +0000
commit941125aa76aa3bfc7cdac563a102881b1ba642e3 (patch)
treef40e1b4f38e5db0794b1f03ee8f8d26958cf4b8b /gcc/tree-sra.c
parentd10a25bb8b6f3e2b53d5ecbfe27fd1a37949973b (diff)
downloadgcc-941125aa76aa3bfc7cdac563a102881b1ba642e3.tar.gz
* cgraphunit.c (ipa_passes): Remove unrechable nodes.
* lto-streamer-out.c (produce_symtab): Skip unused extern declarations. * ipa.c (cgraph_remove_unreachable_nodes): Do not assume that external functions are reachable when address is taken. * ipa-inline-analysis.c (reset_inline_edge_summary): New * gcc.dg/ipa/ctor-empty-1.c: Update dump file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r--gcc/tree-sra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 39d0278cf70..c83f480643c 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -4622,6 +4622,7 @@ modify_function (struct cgraph_node *node, ipa_parm_adjustment_vec adjustments)
VEC (cgraph_edge_p, heap) * redirect_callers = collect_callers_of_node (node);
rebuild_cgraph_edges ();
+ free_dominance_info (CDI_DOMINATORS);
pop_cfun ();
current_function_decl = NULL_TREE;