[Bug tree-optimization/42250] [4.5 Regression] segfault in ipa-type-escape.c for several cpu2000 tests
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 11 11:30:00 GMT 2009
------- Comment #5 from hubicka at gcc dot gnu dot org 2009-12-11 11:30 -------
I am testing the attached patch. We should not re-walk bodies of clones. I
wonder if this makes struct-reorg useable?
Honza
Index: ipa-type-escape.c
===================================================================
--- ipa-type-escape.c (revision 155138)
+++ ipa-type-escape.c (working copy)
@@ -1984,7 +1984,7 @@ type_escape_execute (void)
they may cause a type variable to escape.
*/
for (node = cgraph_nodes; node; node = node->next)
- if (node->analyzed)
+ if (node->analyzed && !node->clone_of)
analyze_function (node);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42250
More information about the Gcc-bugs
mailing list