From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D1817385B51E; Fri, 27 Jan 2023 17:06:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1817385B51E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674839182; bh=9iBDazbxs3gwwb720dDbg9K4xJ0y14eH2R2BN/sfReQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=up6OFoywN5vpKjJYv9SSoEBafMrjowYsOGMLykzZoENp2lkMr59FqaLBoIRL20IF6 ftxHr4NjfNr3ksOkS1qKPzwhnrGJPGu0AX6GHVu5G+c/Iosukbd2kJJdwUUwQTNs0G J9SCz/rEAwKjqEaWtYaagoRw+K7RZwV/xNLQS8FA= From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug c++/29985] gdbtypes.h:985: internal-error: field: Assertion `idx >= 0 && idx < num_fields ()' failed. Date: Fri, 27 Jan 2023 17:06:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29985 --- Comment #8 from Pedro Alves --- > original program is a real hdl compiler for complex fpga technology. test= case=20 > is reduced and anonymized to ENUM_VAL_*. one way or another, assigning 'i= nt=20 > idx' to 'short' will not work forever... Thanks. I was asking because I had the impression that GCC dropped debug i= nfo once some limit is reached or some such. Turns out it's worse than that --= it fails to compile, as Tromey discovered while writing a testcase. So I guess you must be using Clang or some other compiler. --=20 You are receiving this mail because: You are on the CC list for the bug.=