From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 877C2385B83B; Tue, 5 Oct 2021 21:05:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 877C2385B83B From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92010] [8/9 Regression] gcc internal error since 8x on warning write-strings Date: Tue, 05 Oct 2021 21:05:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2021 21:05:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92010 --- Comment #14 from Patrick Palka --- (In reply to qingzhe huang from comment #13) > (In reply to Patrick Palka from comment #12) > > (In reply to qingzhe huang from comment #11) > > > The testcase g++.dg/cpp2a/lambda-uneval11.C still suffers a segment f= ault if > > > run by compiler cc1plus with latest code. > >=20 > > Hmm, I can't reproduce that on latest trunk. Is your working tree clea= n? >=20 > I tested in both 10.2.x and 11.2.x and even latest 12.x with yesterday pu= ll. > It won't show anything when compiling with driver, i.e. g++, but if you r= un > "cc1plus", it will crash. For example, > ${GCC_INSTALL}/libexec/gcc/x86_64-unknown-linux-gnu/11.2.0/cc1plus > -std=3Dc++20 ./lambda-uneval11.C >=20 > Thank you Ah yeah, I can reproduce the crash when invoking cc1plus directly and also = when passing -Q to the driver. Might be better to open a separate PR for this a= s it seems to be a latent bug.=