Commit 0964e707 by Richard Stallman

(compile_file): Only call `*incomplete_decl_finalize_hook'

if the `decl' in question is a VAR_DECL.

From-SVN: r3980
parent 78aadb3a
......@@ -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)
......
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