From: Richard Stallman Date: Sat, 30 Oct 1993 08:33:12 +0000 (+0000) Subject: (rest_of_compilation): When an `extern inline' is not really inline... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27937f463c0e5b48554dedf0cd58ec62adb219db;p=gcc.git (rest_of_compilation): When an `extern inline' is not really inline... (rest_of_compilation): When an `extern inline' is not really inline, clear DECL_INITIAL so we don't complain about a subsequent non-extern definition. From-SVN: r5942 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index 739b8d51551..31297ff08d8 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2339,7 +2339,10 @@ rest_of_compilation (decl) If we can't make it inline, pretend it was only declared. */ if (DECL_EXTERNAL (decl)) - goto exit_rest_of_compilation; + { + DECL_INITIAL (decl) = 0; + goto exit_rest_of_compilation; + } } else DECL_INLINE (decl) = 1;