------- Comment #4 from rguenth at gcc dot gnu dot org  2009-02-19 14:19 -------
This fixes it for me:

Index: decl2.c
===================================================================
--- decl2.c     (revision 144292)
+++ decl2.c     (working copy)
@@ -3755,7 +3755,8 @@ bool
 possibly_inlined_p (tree decl)
 {
   gcc_assert (TREE_CODE (decl) == FUNCTION_DECL);
-  if (DECL_UNINLINABLE (decl))
+  if (DECL_UNINLINABLE (decl)
+      || DECL_REALLY_EXTERN (decl))
     return false;
   if (!optimize)
     return DECL_DECLARED_INLINE_P (decl);


-- 


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

Reply via email to