[Bug lto/50747] [4.7 Regression] ICE in produce_symtab, at lto-streamer-out.c:1435

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Thu Oct 27 11:41:00 GMT 2011


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

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-27 11:39:23 UTC ---
I've been running gcc with this patch since the last week without ill
effects thus far:

@@ -1429,14 +1429,14 @@ produce_symtab (struct output_block *ob,
       /* We keep around unused extern inlines in order to be able to inline
      them indirectly or via vtables.  Do not output them to symbol
      table: they end up being undefined and just consume space.  */
-      if (!node->address_taken && !node->callers)
+      if (!node->address_taken && !node->callers && DECL_DECLARED_INLINE_P
(node->decl))
     {
       gcc_assert (node->analyzed);
-      gcc_assert (DECL_DECLARED_INLINE_P (node->decl));



More information about the Gcc-bugs mailing list