From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F65E3858D39; Mon, 30 Jan 2023 20:09:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F65E3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675109353; bh=vuTfHA+Zz7s+RWk7Le4+MRujGC+JqOOEN95gM4E3SqI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OwmmRlqyInaXAo1s1G+bguDbSPyOZhevDHwJ/aY3GX41mU3o8e+xI0ER78XZDdY27 XaOOrahYm97cmLwuysDFXVf/rdhcN81r7Q1IUa6Cyj2SmXZ7r99m5M7L+xoVZSa4y/ wLXM8jTmih7Fw5z+P1z5hDbQGFR4neAqrry1UULE= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/29985] gdbtypes.h:985: internal-error: field: Assertion `idx >= 0 && idx < num_fields ()' failed. Date: Mon, 30 Jan 2023 20:09: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: tromey at sourceware dot org 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 #9 from Tom Tromey --- (In reply to Pedro Alves from comment #8) > 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. Actually it turned out that the supplied test does work in gcc, but when I wrote one for the test suite I used a larger constant and that caused a failure. --=20 You are receiving this mail because: You are on the CC list for the bug.=