This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/47423] Many testsuite failures caused by missing gxx_visibility_sj0


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]