projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78aadb3
)
(compile_file): Only call `*incomplete_decl_finalize_hook'
author
Richard Stallman
<rms@gnu.org>
Wed, 31 Mar 1993 22:16:39 +0000
(22:16 +0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 31 Mar 1993 22:16:39 +0000
(22:16 +0000)
if the `decl' in question is a VAR_DECL.
From-SVN: r3980
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index b3c757af042ceb8d2fec47ae0e3328670d2fda9c..fde442c55b0597cd63d838b76996429fad1b6a5f 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-1875,7
+1875,7
@@
compile_file (name)
for (i = 0; i < len; i++)
{
decl = vec[i];
- if (DECL_SIZE (decl) == 0)
+ if (
TREE_CODE (decl) == VAR_DECL &&
DECL_SIZE (decl) == 0)
(*incomplete_decl_finalize_hook) (decl);
if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl)