From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5353 invoked by alias); 28 Jul 2011 14:46:04 -0000 Received: (qmail 5343 invoked by uid 22791); 28 Jul 2011 14:46:03 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Jul 2011 14:45:47 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/49887] [4.7 regression] .debug_macro breaks many Solaris/SPARC tests X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 28 Jul 2011 14:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg02465.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887 --- Comment #1 from Jakub Jelinek 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...