From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 084723857C43; Wed, 29 Mar 2023 19:11:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 084723857C43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680117076; bh=EyMTBdjpAtHzGxwhaQcvd+I2JrwjA3rcjSASi3nZ1Go=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AC8kzP7f7N8rLpV+nhfSwv9NYAx8vib5J+JGMKCPuwdmoCraudMdRJwtAZQWKXbPb keXISn/ZZDPVsWqMr6bF8S9tNIRLbSCjwADf68hYVsi8lnQvU5MiatUAHavWYBAOFS McJa5dbGwB27gpasGMOPU+faRtwfDE1iTZch7MfQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109337] c++2a test concepts4.C passes when it should fail Date: Wed, 29 Mar 2023 19:11:15 +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: unknown X-Bugzilla-Keywords: accepts-invalid 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: bug_status resolution 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=3D109337 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Resolution|INVALID |--- --- Comment #5 from Andrew Pinski --- (In reply to Christopher Di Bella from comment #3) > This is apparently a Clang bug: the RHS of `R42c` isn't evaluated because= of > short-circuiting. Apologies for the noise and thanks for helping me work > through it. No, clang and GCC disagree even on: ``` template concept A42b =3D true; template concept R42c =3D A42b; static_assert (R42c); ``` There is no short-circuting here.=