http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47423
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |EH, lto Status|UNCONFIRMED |WAITING Last reconfirmed| |2011.01.25 11:18:37 CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-25 11:18:37 UTC --- Does Index: cgraphbuild.c =================================================================== --- cgraphbuild.c (revision 169155) +++ cgraphbuild.c (working copy) @@ -141,6 +141,11 @@ record_eh_tables (struct cgraph_node *no { eh_region i; + if (DECL_FUNCTION_PERSONALITY (node->decl)) + ipa_record_reference (node, NULL, + cgraph_node (DECL_FUNCTION_PERSONALITY (node->decl)), + NULL, IPA_REF_ADDR, NULL); + i = fun->eh->region_tree; if (!i) return; fix it? If we'd LTO libsupc++ we have to makr the personality function as address-taken.