From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E36BF3858284; Sat, 4 Feb 2023 16:52:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E36BF3858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675529532; bh=dpXQco7w46eEmjtZT1k/UTGgg42ar8/IwyMu1BuQoMM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A7/AhIRq9T6WT/HXOYY6Cl79ug7S79sTpeX1DIhwt+3mEGUFhMeE6BSZ5Fridp4bS L6S1fr3mGvC0qZqg9Z3N7v9eyfIsPKSC1Jep1NtgbEMTJ2gdW0EO8oT0EFzcIOGNeP iWnuUbRqhJsQs6tHdk99HmvnpZEDcAZn8aRex12g= From: "pawel_sikora at zoho dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/29985] gdbtypes.h:985: internal-error: field: Assertion `idx >= 0 && idx < num_fields ()' failed. Date: Sat, 04 Feb 2023 16:52:12 +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: pawel_sikora at zoho dot com 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 #10 from Pawe=C5=82 Sikora --- (In reply to Pedro Alves from comment #8) > > original program is a real hdl compiler for complex fpga technology. te= stcase=20 > > is reduced and anonymized to ENUM_VAL_*. one way or another, assigning = 'int=20 > > idx' to 'short' will not work forever... >=20 > Thanks. I was asking because I had the impression that GCC dropped debug > info 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 testcas= e.=20 > So I guess you must be using Clang or some other compiler. yes, we're currently using clang-15 (compiler/tools/thinlto/lld) + libcxx.llvm.org + qtcreator-9.x + gdb for development and local (x86_64)/remote(x86_64->arm64) debugging. --=20 You are receiving this mail because: You are on the CC list for the bug.=