Commit 5e10b3cc by Richard Stallman

(rest_of_decl_compilation): Test that var.

From-SVN: r5878
parent cbed4565
...@@ -90,6 +90,7 @@ extern char *version_string, *language_string; ...@@ -90,6 +90,7 @@ extern char *version_string, *language_string;
to ASM_FINISH_DECLARE_OBJECT. */ to ASM_FINISH_DECLARE_OBJECT. */
extern int size_directive_output; extern int size_directive_output;
extern tree last_assemble_variable_decl;
extern void init_lex (); extern void init_lex ();
extern void init_decl_processing (); extern void init_decl_processing ();
...@@ -2245,8 +2246,11 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end) ...@@ -2245,8 +2246,11 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end)
&& (DECL_INITIAL (decl) == 0 && (DECL_INITIAL (decl) == 0
|| DECL_INITIAL (decl) == error_mark_node))) || DECL_INITIAL (decl) == error_mark_node)))
assemble_variable (decl, top_level, at_end, 0); assemble_variable (decl, top_level, at_end, 0);
if (decl == last_assemble_variable_decl)
{
ASM_FINISH_DECLARE_OBJECT (asm_out_file, decl, ASM_FINISH_DECLARE_OBJECT (asm_out_file, decl,
top_level, at_end); top_level, at_end);
}
}); });
else if (DECL_REGISTER (decl) && asmspec != 0) else if (DECL_REGISTER (decl) && asmspec != 0)
{ {
......
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