projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf9460
)
(rest_of_compilation): When an `extern inline' is not really inline...
author
Richard Stallman
<rms@gnu.org>
Sat, 30 Oct 1993 08:33:12 +0000
(08:33 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 30 Oct 1993 08:33:12 +0000
(08:33 +0000)
(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
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index 739b8d51551168a643f9477fde45da21880268ec..31297ff08d859a1ce56b7a529714dcb2ad310416 100644
(file)
--- 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;