]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME to prevent...
authorJan Hubicka <jh@suse.cz>
Sat, 4 Dec 2010 22:01:32 +0000 (23:01 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 4 Dec 2010 22:01:32 +0000 (22:01 +0000)
* dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
to prevent mangling with lto frontend.

From-SVN: r167460

gcc/ChangeLog
gcc/dwarf2asm.c

index f56b07015f0cacd03292d7e7ab5523db29948fc9..7c1b32d7ee9cc4afc2c2d0be53b992c59ec69fd3 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-03  Jan Hubicka  <jh@suse.cz>
+
+       * dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME
+       to prevent mangling with lto frontend.
+
 2010-12-03  Jan Hubicka  <jh@suse.cz>
 
        * Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H.
index eefc29fd9a365b24fa2e6c0c4feb4ff0e462bed0..b480698b49ebcb64ed23d3b61b79470a928c73e7 100644 (file)
@@ -905,6 +905,7 @@ dw2_output_indirect_constant_1 (splay_tree_node node,
   id = (tree) node->value;
 
   decl = build_decl (UNKNOWN_LOCATION, VAR_DECL, id, ptr_type_node);
+  SET_DECL_ASSEMBLER_NAME (decl, id);
   DECL_ARTIFICIAL (decl) = 1;
   DECL_IGNORED_P (decl) = 1;
   DECL_INITIAL (decl) = decl;