From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 26973383FDC1; Sat, 1 Jun 2024 03:56:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 26973383FDC1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717214194; bh=9ldZ67QW++yrQdJo7+me9VYEi3xbeB6VHsF0bGYTob4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cfnGsDZBtHbyhkhiiHaW0/X09dcxdn2+qYfqCaj0GlJp3e9mpiR94Nr4M7g/ivTtF wlAIw5b73+1/2awOcHlv1B64+V+tj6A5D4mgUyyly17PSHe6J3jWJhmlJYYb1192s7 B02EU0xDO3c9tgpedEkRRK48/g4R/RvBHuqXfkUs= From: "puetzk at puetzk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/78100] DWARF symbols for an array sometimes missing the array length Date: Sat, 01 Jun 2024 03:56:33 +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: 6.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: puetzk at puetzk dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D78100 --- Comment #7 from Kevin Puetz --- Nope, falsified that guess - I just realized compiler explorer can do dwarfdump, which makes it easy to bisect among the releases they have (if n= ot actually commit-by-commit). This shows that 9.5.0 (which has r263660) still produces bad DWARF, and 10.1 is fixed. So it can't be that commit... https://godbolt.org/z/jj4safe6e=