Commit a8988448 by Richard Henderson Committed by Richard Henderson

dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC as appropriate for the artificial decl.

        * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
        as appropriate for the artificial decl.

From-SVN: r46997
parent dc637ad7
2001-11-13 Richard Henderson <rth@redhat.com>
* dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
as appropriate for the artificial decl.
2001-11-13 Richard Henderson <rth@redhat.com>
* loop.c (combine_movables): Turn off combination until
move_movables validation bugs are fixed.
......
......@@ -791,6 +791,7 @@ dw2_force_const_mem (x)
id = get_identifier (ref_name);
decl = build_decl (VAR_DECL, id, ptr_type_node);
DECL_ARTIFICIAL (decl) = 1;
TREE_PUBLIC (decl) = 1;
DECL_INITIAL (decl) = decl;
make_decl_one_only (decl);
}
......@@ -804,6 +805,7 @@ dw2_force_const_mem (x)
id = get_identifier (label);
decl = build_decl (VAR_DECL, id, ptr_type_node);
DECL_ARTIFICIAL (decl) = 1;
TREE_STATIC (decl) = 1;
DECL_INITIAL (decl) = 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