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