From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C816C385E45A; Sat, 13 Jan 2024 11:32:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C816C385E45A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705145537; bh=Q9NUJaOo6qSjNGcvoqlQ9s4NtxPlZGpePb5ykdlX8QE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BfwuB4KWhUrOD8FBGVaypARfYw5dJriPKtKlGs+7mTTDR5qBu9ba8QtoDwXiuM/FQ qwzk3wZxklFQ+42zcHUBpzVc3T+jnDH03a/T9BJpDwltpO8kP01TkgDJEEGf4L4+MH UWXbYtVGzSPMT/6ACOuk0sX/1vS+izU5hQA6Qgy4= 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:32:17 +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: UNCONFIRMED 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=3D113366 --- Comment #1 from Jonathan Wakely --- Odd. We get the type/value mismatch from here: template using __maybe_const_t =3D __conditional_t<__format::__formattable_with<_Tp, _Context>, const _Tp, _Tp>; Where the boolean condition is: template>, typename _ParseContext =3D basic_format_parse_context> concept __formattable_with =3D semiregular<_Formatter> && requires (const _Formatter __cf, _Tp&& __t, _Context __fc) { { __cf.format(__t, __fc) } -> same_as; }; That seems like a valid concept. Is something in the -fconcepts-ts code tripping up?=