From 27937f463c0e5b48554dedf0cd58ec62adb219db Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 30 Oct 1993 08:33:12 +0000 Subject: [PATCH] (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 --- gcc/toplev.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.30.2