From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69BCF385E45A; Sat, 13 Jan 2024 11:40:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69BCF385E45A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705146000; bh=IJAj0XquDDPlJ00Ue84Q6l6OAa8EDYwQpFaGalnX9e8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jVhkP7xgCv8yzQZQAT8/6BZHDRNYMZTvviDSvVP+2nO7D2/bFgu/y0jEdo+Nbfigi nAaldLbU6YwuquzGM5wuBAPGsn0JMi0gGZIwoOADD/4/vuivGNagAWlVEIq6ZjOOIf 2K/vG0zsKLXG1/06R/P8aB6qp1cMfSRhdt7SYhOU= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/113366] g++.dg/cpp2a/concepts-pr67774.C FAIL Date: Sat, 13 Jan 2024 11:40:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: everconfirmed cf_reconfirmed_on bug_status 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=3D113366 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-01-13 Status|UNCONFIRMED |NEW --- Comment #2 from Jonathan Wakely --- I already defined a constexpr bool variable template in that class, and usi= ng it in the __maybe_const_t alias seems to fix the -fconcepts-ts problem: // Format as const if possible, to reduce instantiations. template using __maybe_const_t =3D __conditional_t<__formattable<_Tp>, const _Tp, _Tp>; But then there are loads of other errors due to using attributes on constra= ined functions: format:4159:5: error: two consecutive '[' shall only introduce an attribute before '[' token 4159 | [[__gnu__::__always_inline__]] I'll need to move those attributes. Or maybe I can just make reject attempts to use it with -fconcepts= -ts=20 ]:-) is C++20 code, so you don't need the Concepts TS. Fix your concept= s to work with C++20 instead!=