[Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 20:50:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64447
--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> ---
Hi,
the problem is that estimate_function_body_sizes frees ipa_free_all_node_params
when called late via add_new_function.
the following patch should fix it.
Honza
Index: ipa-inline-analysis.c
===================================================================
--- ipa-inline-analysis.c (revision 219108)
+++ ipa-inline-analysis.c (working copy)
@@ -2851,7 +2851,7 @@ estimate_function_body_sizes (struct cgr
{
if (!early)
loop_optimizer_finalize ();
- else
+ else if (!ipa_edge_args_vector)
ipa_free_all_node_params ();
free_dominance_info (CDI_DOMINATORS);
}
More information about the Gcc-bugs
mailing list