From: Richard Stallman Date: Wed, 31 Mar 1993 22:18:57 +0000 (+0000) Subject: (compile_file): Call incomplete_decl_finalize_hook only if nonzero. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=488b1f4fa4aa3ad853a37ad63183e923ad666647;p=gcc.git (compile_file): Call incomplete_decl_finalize_hook only if nonzero. From-SVN: r3981 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index fde442c55b0..89ded122fb5 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)