From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5C4AE3858C54; Tue, 6 Feb 2024 16:49:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C4AE3858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707238191; bh=Zsiq0gBc2DL0T0oX1AgLpkqqajd0t4l1abQQjqcms6s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pMP+FbCAQVjHTaMCKrt0tkwprP34hPLvVLfA/12oDXrBb3YgznXh1LYmWDqbc02cP MKdpLtNYzxWperg0bRrxZRwcdMeEMpIom+EfsVar5l7lyvjWopRwjIWIUj1v+wnWXc wO/kLlosjEV6JsTrJBgmfKU2cWZxc1tmvvZQY3NI= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94231] Invalid move constructor defaulted outside of class as deleted is accepted Date: Tue, 06 Feb 2024 16:49:50 +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: 10.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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=3D94231 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1befe47f64bf0b964be90730e2cbef550cb6d2b7 commit r14-8830-g1befe47f64bf0b964be90730e2cbef550cb6d2b7 Author: Marek Polacek Date: Tue Feb 6 11:44:44 2024 -0500 c++: add fixed test [PR94231] I was suprised to find out that r14-8759 fixed this accepts-invalid. clang version 17.0.6 rejects the test as well; clang version 19.0.0git crashes for which I opened . PR c++/94231 gcc/testsuite/ChangeLog: * g++.dg/cpp0x/deleted17.C: New test.=