OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f248fe8
)
(compile_file): Call incomplete_decl_finalize_hook only if nonzero.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 1993 22:18:57 +0000
(22:18 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 1993 22:18:57 +0000
(22:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3981
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index
fde442c
..
89ded12
100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-1875,7
+1875,8
@@
compile_file (name)
for (i = 0; i < len; i++)
{
decl = vec[i];
- if (TREE_CODE (decl) == VAR_DECL && DECL_SIZE (decl) == 0)
+ if (TREE_CODE (decl) == VAR_DECL && DECL_SIZE (decl) == 0
+ && incomplete_decl_finalize_hook != 0)
(*incomplete_decl_finalize_hook) (decl);
if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl)