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/50747] [4.7 Regression] ICE in produce_symtab, at lto-streamer-out.c:1435


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));


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