This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49887] [4.7 regression] .debug_macro breaks many Solaris/SPARC tests
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Jul 2011 14:45:47 +0000
- Subject: [Bug debug/49887] [4.7 regression] .debug_macro breaks many Solaris/SPARC tests
- Auto-submitted: auto-generated
- References: <bug-49887-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-28 14:45:11 UTC ---
So, how are the group signature symbols supposed to be emitted on
SPARC/Solaris? A dummy symbol of that name somewhere in the section? Can it
be local, or must it be global symbol?
Would something like:
--- gcc/dwarf2out.c 2011-07-27 23:25:36.000000000 +0200
+++ gcc/dwarf2out.c 2011-07-28 16:43:29.181746188 +0200
@@ -20872,6 +20872,7 @@ output_macinfo (void)
DEBUG_MACRO_SECTION_LABEL,
ref->lineno);
ASM_OUTPUT_LABEL (asm_out_file, label);
+ ASM_OUTPUT_LABEL (asm_out_file, IDENTIFIER_POINTER (comdat_key));
ref->code = 0;
free (CONST_CAST (char *, ref->info));
ref->info = NULL;
fix it? Of course I'd prefer if this was limited to targets where the
assembler isn't capable of handling it correctly...