PR middle-end/58125
Jan Hubicka
hubicka@ucw.cz
Fri Jan 17 21:15:00 GMT 2014
Hi,
this patch fixes no longer reproducing ICE where we try to free summary of alias
but we never allocate one.
Bootstrapped/regtested x86_64-linux, comitted.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 206732)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2014-01-17 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/58125
+ * ipa-inline-analysis.c (inline_free_summary):
+ Do not free summary of aliases.
+
2014-01-17 Jakub Jelinek <jakub@redhat.com>
PR middle-end/59706
Index: ipa-inline-analysis.c
===================================================================
--- ipa-inline-analysis.c (revision 206684)
+++ ipa-inline-analysis.c (working copy)
@@ -4146,7 +4146,8 @@
if (!inline_edge_summary_vec.exists ())
return;
FOR_EACH_DEFINED_FUNCTION (node)
- reset_inline_summary (node);
+ if (!node->alias)
+ reset_inline_summary (node);
if (function_insertion_hook_holder)
cgraph_remove_function_insertion_hook (function_insertion_hook_holder);
function_insertion_hook_holder = NULL;
More information about the Gcc-patches
mailing list