Commit 488b1f4f by Richard Stallman

(compile_file): Call incomplete_decl_finalize_hook only if nonzero.

From-SVN: r3981
parent 0964e707
...@@ -1875,7 +1875,8 @@ compile_file (name) ...@@ -1875,7 +1875,8 @@ compile_file (name)
for (i = 0; i < len; i++) for (i = 0; i < len; i++)
{ {
decl = vec[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); (*incomplete_decl_finalize_hook) (decl);
if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl) if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment