From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 57B253858C31; Wed, 28 Jun 2023 15:52:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57B253858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687967541; bh=7Msktz7C0MxzEMLPKgN095ngOPiNZ2/fPbNXfcDRhX8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=X+Jsj3CBdNRU/ZdlfTP06t0O++bvLILLAS+hwBsee0wtvdPNXO6zyXbGAi1mdgLrZ bpH9QGssCtXU4NVSsl7Nu3B0c+CFIe/xrLcUwYcspu4fa8csr9MOp7KiPgzYmLpXo1 vMcA8N2zXsmWFvLcZOxeoaupKm9z+u07MJLMdR48= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110175] [GCC][Crash] GCC Crash on valid code Date: Wed, 28 Jun 2023 15:52:20 +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: 14.0 X-Bugzilla-Keywords: c++-lambda, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110175 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4de22e25918f6fe40184c444ba6d81b19b806e26 commit r14-2167-g4de22e25918f6fe40184c444ba6d81b19b806e26 Author: Marek Polacek Date: Thu Jun 8 14:07:44 2023 -0400 c++: fix error reporting routines re-entered ICE [PR110175] Here we get the "error reporting routines re-entered" ICE because of an unguarded use of warning_at. While at it, I added a check for a warning_at just above it. PR c++/110175 gcc/cp/ChangeLog: * typeck.cc (cp_build_unary_op): Check tf_warning before warnin= g. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/decltype-110175.C: New test.=