From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 994013858C60; Wed, 7 Feb 2024 04:35:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 994013858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707280555; bh=9WlNcWzu58CNfXVcHI9yzPT/YLTvqGkAgaA/QkuQELk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TCXU1qvhU2D/b9w2whHKdPCeeoLPw/NPCMoTNCnfN9a5H3fb6npXuFuZWtclkpCpr 4MlHYXhwrr+DROLPvc8hTx3XUfrhQZ85B18P8UbHRNn/F4v3NmYl0FzhnLPf4HAcP0 mILPykv0IvYtIOlCnHjzavth8QGx28TZtH+twxGQ= From: "arthur.j.odwyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113789] [13/14 Regression] ICE on P2266/C++23 `decltype(throw x)` where x is move-eligible parameter Date: Wed, 07 Feb 2024 04:35:55 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: arthur.j.odwyer at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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=3D113789 --- Comment #6 from Arthur O'Dwyer --- (In reply to Marek Polacek from comment #5) > IOW, this should be accepted in C++23 but isn't (clang++ accepts in C++23= ): [...] Correct, at least that's my intended interpretation. But the unexpected ICE= was more dramatic. :) I'd be a tiny bit surprised if fixing `decltype(throw p)` actually closes t= he only pathway to that ICE; but if it does, then awesome, I have no complaint= s.=