From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A17DE3858CDA; Fri, 24 Mar 2023 20:47:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A17DE3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679690821; bh=0fWlezZcZoouE8daD98aBEz+DK+yUhWPAjruHZyGS6g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fK6/labOSY64D6ZsRq3mggK+LIOGkfRgB7HC6JZHnFq+8o8txcSPy0t4S8e6gWGQL pPBaujqpRRqffUGooP4oXxy1ESrkFL0FMO/M2E1gor+1fzPtO0odLYGedoKxu0BbUE hYRslyftBmo5YBsfOIjI7/CDK24wgSELXJEzGFPI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTA5Mjc3XSBbMTMgUmVncmVzc2lvbl0gdHlwZV90?= =?UTF-8?B?cmFpdHM6MTQxNzozMDogZXJyb3I6IGludmFsaWQgdXNlIG9mIGluY29tcGxl?= =?UTF-8?B?dGUgdHlwZSDigJhjbGFzcyB2ODo6aW50ZXJuYWw6Oldhc21BcnJheeKAmQ==?= Date: Fri, 24 Mar 2023 20:47:01 +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: 13.0 X-Bugzilla-Keywords: needs-bisection, needs-reduction, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 13.0 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=3D109277 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > The difference is is_convertible definition. > 12: > template > struct is_convertible > : public __is_convertible_helper<_From, _To>::type > { }; >=20 >=20 > 13: > template > struct is_convertible > : public __bool_constant<__is_convertible(_From, _To)> > { }; >=20 > So it might be a front-end issue after all. and yes that is definitely the difference here. If I add back the __is_convertible_helper and use that for is_convertible to the GCC 13 preprocessed source, the code then compiles.=