[Bug bootstrap/48148] [4.7 Regression] bootstrap failed with bootstrap-profiled

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 16 16:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48148

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-16 16:29:49 UTC ---
That is,

Index: lto-cgraph.c
===================================================================
--- lto-cgraph.c        (revision 171048)
+++ lto-cgraph.c        (working copy)
@@ -975,6 +975,7 @@ input_overwrite_node (struct lto_file_de
          || node->clone_of->decl != node->decl))
     {
       DECL_EXTERNAL (node->decl) = 1;
+      DECL_ABSTRACT_ORIGIN (node->decl) = NULL_TREE;
       TREE_STATIC (node->decl) = 0;
     }
   node->alias = bp_unpack_value (bp, 1);
@@ -1146,6 +1147,7 @@ input_varpool_node (struct lto_file_decl
   if (node->in_other_partition)
     {
       DECL_EXTERNAL (node->decl) = 1;
+      DECL_ABSTRACT_ORIGIN (node->decl) = NULL_TREE;
       TREE_STATIC (node->decl) = 0;
     }
   aliases_p = bp_unpack_value (&bp, 1);



More information about the Gcc-bugs mailing list