From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41444395C05E; Wed, 2 Dec 2020 14:26:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41444395C05E From: "jakub at redhat dot com" To: dwz@sourceware.org Subject: [Bug default/26987] GCC 11 Ada binaries contain unknown tags Date: Wed, 02 Dec 2020 14:26:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 14:26:25 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26987 --- Comment #11 from Jakub Jelinek --- (In reply to Tom Tromey from comment #10) > (In reply to Mark Wielaard from comment #9) >=20 > > So this is encoded as DW_FORM_block1, which is not a valid form for > > DW_AT_upper_bound or DW_AT_lower_bound. According the the DWARF spec on= ly > > constant, exprloc, reference classes are. >=20 > My understanding is that this is a small extension to DWARF, because... If it is DWARF4 only, then it could be considered an extension, but if it applies to DWARF3 too, then it is certainly invalid. I don't speak Ada, do you have some minimal testcase? I've tried to write it in Fortran, but it seems to ignore it alltogether (probably a bug): integer(kind=3D16), parameter :: a =3D 18014398509481984_16 integer(kind=3D16), parameter :: b =3D a * a integer(kind=3D4) :: c (b : b + 32) c(b + 2) =3D 1 end --=20 You are receiving this mail because: You are on the CC list for the bug.=