Commit 46dbb914 by Richard Stallman

(rest_of_compilation): If function is extern inline,

even if we can't inline it, don't compile it.

From-SVN: r4931
parent 82e9f5e9
......@@ -2253,6 +2253,11 @@ rest_of_compilation (decl)
if (warn_inline && specd)
warning_with_decl (decl, lose);
DECL_INLINE (decl) = 0;
/* Don't really compile an extern inline function.
If we can't make it inline, pretend
it was only declared. */
if (DECL_EXTERNAL (decl))
goto exit_rest_of_compilation;
}
else
DECL_INLINE (decl) = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment