From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 100A0384AB5A; Thu, 16 May 2024 09:22:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 100A0384AB5A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715851347; bh=VDZQSXEsjqc0eLf2wV8QGozOUQHf+rzqqkVQNJwPjl4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JQSNEVwmZmAujxYbzS/iALtC/FuVNuPh1MVrxatB6Vqf8zvBiYxjH+8LbN5Ncwb+w UJdpRXLBxJkQJtUU3J+5xjBE0t+lPNllS/7jZ1mRgwHqyXRysBGuJoIuzqfaCRV3EZ Aidw47BCTH9qhTEAd5/VolxGFqrhhAghf6MSZViE= From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/115066] [debug, gsplit-dwarf, gdwarf-4, g3] DW_MACRO_define_strp used for debug_str_offsets index Date: Thu, 16 May 2024 09:22:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D115066 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Tom de Vries --- > (In reply to Rainer Orth from comment #10) [...] >> I wonder how best to handle this: just skip the test on sparc*-sun-solar= is2* >> && !gas? Theoretically, there could be other targets with similar issue= s. > > This looks like test-case issue, so re-closing the PR. True, but it's often way simpler to discuss testcase issues in the original PR rather than open new PRs for every single issue with a testcase (and there's already been the comment character one here). > How about: > ... > -/* { dg-final { scan-assembler {\.byte\t0xb\t[^\n\r]* Define macro strx}= } } > */ > +/* { dg-final { scan-assembler {\.byte\t0xb\t[^\n\r]* Define macro > strx|\.byte\t0x1\t[^\n\r]* Define macro} > ... > ? Seems like an option, too (and would work on other affected targets should they appear). Tested on sparc-sun-solaris2.11 with as and gas. Btw., I wonder which of the targets currently skipped with "split DWARF unsupported" are instances of this problem, too: Solaris doesn't support -gsplit-dwarf, still the test PASSes on Solaris/SPARC with gas and Solaris/x86 with either assembler.=