From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 880613858D3C; Tue, 4 Jul 2023 21:36:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 880613858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688506566; bh=6SlMl7yBw6Dlc1bjE/6GluiLkf1Tm/PUeWHw7Jkuis4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fMsRdlhAfy4wfSCbMOKRWLOO8tpgjste+nRyz6tPjIYWAI+WBOJXWA3Jd+p15nlcx mPwF4kkv5Jywt2IaPEsQr9h3MBpkGP2Nw+t3EkJwwFpDOX01iUAMbHTGW9ph2XPVe/ blI2SNpNMbLHMP4dzLoXX/HLF9Y7onqijj9yeKfE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110552] ICE on valid code in maybe_instantiate_noexcept Date: Tue, 04 Jul 2023 21:36:06 +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, ice-on-invalid-code, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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=3D110552 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Looks like it is a lambda inside a decltype is causing it. The reason why I say that is if I change __apply_fn's operator() not to tak= e a second argument and remove the lambda from the call to it in __tag_from, th= en this works.=