This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Dec 2014 20:50:37 +0000
- Subject: [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
- Auto-submitted: auto-generated
- References: <bug-64447-4 at http dot gcc dot gnu dot org/bugzilla/>
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);
}