varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on erroneous incomplete decls.

Thu Jul  7 16:58:35 1994  Jason Merrill  (jason@deneb.cygnus.com)

        * varasm.c (assemble_variable): Do set TREE_ASM_WRITTEN on
        erroneous incomplete decls.

From-SVN: r7677
This commit is contained in:
Jason Merrill 1994-07-08 09:14:04 +00:00
parent 5b0ce75844
commit 1c1a7ba4b4

View File

@ -980,6 +980,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
DECL_SOURCE_LINE (decl),
"storage size of `%s' isn't known",
IDENTIFIER_POINTER (DECL_NAME (decl)));
TREE_ASM_WRITTEN (decl) = 1;
return;
}