diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-31 22:18:57 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-31 22:18:57 +0000 |
commit | 488b1f4fa4aa3ad853a37ad63183e923ad666647 (patch) | |
tree | 837b83d12b555d50378d8c168f20a296cc042306 | |
parent | 0964e707091d014d8bc5d0206af31628c214fac6 (diff) | |
download | gcc-488b1f4fa4aa3ad853a37ad63183e923ad666647.zip gcc-488b1f4fa4aa3ad853a37ad63183e923ad666647.tar.gz gcc-488b1f4fa4aa3ad853a37ad63183e923ad666647.tar.bz2 |
(compile_file): Call incomplete_decl_finalize_hook only if nonzero.
From-SVN: r3981
-rw-r--r-- | gcc/toplev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index fde442c..89ded12 100644 --- 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) |