From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CFEEC3858C50; Fri, 28 Apr 2023 12:26:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFEEC3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682684790; bh=bEK6pBoNMetWbsJXxm+Gw+3Eq5KtEokOxhpOccSwn3Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RNqDe0D9AuH5EPAOPSsnrYDzOLIUWBNg890+rah3ATY23PVv+g5d1sf62fD5XqJQJ n5SnMwk/Bzlk64GIUHj5flt8jgiqyhfhA92AhAxU8c51IUWXCuLHsjGi+paYR6GnlV KwmQrhzHaiZFe2WFeXbP9c/jL5qMqs5iicxQZEkM= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109663] False positive? Converting from initializer list would use explicit constructor Date: Fri, 28 Apr 2023 12:26:30 +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.1.0 X-Bugzilla-Keywords: rejects-valid 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=3D109663 --- Comment #3 from Jonathan Wakely --- (In reply to Carlos Galvez from comment #2) > I could reduce it to a simpler self-contained example: That example has been rejected since r9-283-gd86d6e27db4520 CWG 2267 - list-initialization of reference temporary * call.c (reference_binding): List-initializing a reference temporary is copy-list-initialization.=