From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D4ED23858000; Wed, 31 May 2023 21:02:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4ED23858000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685566933; bh=JTpWQQFmxwH17IcaO949UWRRRPMV045SPboTcaqL6+E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XYU2gmtdoqIoRTGJmRpcyeXmtvOd9Z9f2OzLWJfJP7a9lMBUMYALM4fnkTgFzNrtj IZDxSQFqCmlejl/ZwsVyv+91QWtdyTL0QvdFXJN/I3Up5e1XbFJ9FaEEPBQgnVOsBi UL1Ie5o1QLMG5rcm4Lsltvfq2rnKm+j/j7DldD7o= From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109247] [13/14 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6 Date: Wed, 31 May 2023 21:02:13 +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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 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=3D109247 --- Comment #16 from Jason Merrill --- (In reply to Jason Merrill from comment #15) > Discussion in CWG led to this more specific rule that only affects the > copy/move special member functions, and so doesn't affect the 84849 > testcases: Correction: it does fix the first three 84849 testcases, which are non-temp= late forms of the same issue.=