From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D53713858D33; Fri, 6 Jan 2023 06:33:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D53713858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672986838; bh=9qc7bDVbo0vYjLnu7tUZraFrQ3v3OSRsktw5GpAw2Qk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IDEA00vLVMbHkitIAHYycor6vx00C7RvT4KrUA2yjdF6+kAixK1N95xO+f2wTiZnE UbkjHpdbP4WKYaGlMWkhpZwizbn3CCnhviTr7/hbvfryCMoJyeNXq/KMl0ujltMcrm LGGecHggVbA7t1oi+aRF2YF0oOBRZYLWKe5ODLBQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108309] [12 Regression] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136 Date: Fri, 06 Jan 2023 06:33:58 +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: 12.2.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection 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: 12.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=3D108309 --- Comment #4 from Andrew Pinski --- (In reply to tim blechmann from comment #3) > > That is a conditionally supported construct in C++. clang does not supp= ort it but GCC does.=20 > >=20 > > GCC does warn with -Wconditionally-supported >=20 > interesting. i may have to reduce it manually rather than going through > cvise: the real-world code builds with clang and gcc doesn't seem to emit= a > warning with -Wconditionally-supported Or you could add -Werror=3Dconditionally-supported as an option and reduce = it that way ...=