From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E57E3858D35; Fri, 24 Mar 2023 20:53:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E57E3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679691212; bh=9ux3zA6+O7ZrdZtanrSBcpzZvIe9X2sJWSQpraNfT6c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NcuT8DUTS5BRWTbTRT0LtLgXKM5U99uWNiV4+L0rOAogkHr2Za3wnyTR4nB7TElE1 Dr5fKElnusuVY9mC2KWhjiytHV/v4iMTLIdDC6BqKorNX3PwWsV4CiA0Big2JWPoPm XdWXF4GB4fIYvGSgd3H4Da4Ak8JSN6AweBq5hj6w= 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:53:31 +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 #6 from Andrew Pinski --- I know cppreference is not the standard but usually it has a good summary. From: https://en.cppreference.com/w/cpp/types/is_convertible : ``` >From and To shall each be a complete type, (possibly cv-qualified) void, or= an array of unknown bound. Otherwise, the behavior is undefined. ``` So someone who understands the C++ standard better than me should be able to answer if this is in fact illformed code.=