From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B2BE3851C01; Thu, 2 Jul 2020 19:44:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B2BE3851C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593719053; bh=2JLhM6DVEYJzblPQlhZE5LtDaFGkCLUPq2mSYh+RnJM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Yys2sob7WylsMCsdX55M3O8V3g5scjIbGP+yP0oO33HTemrI3lTe0CaHUN8B81D30 +XIxgllcQ9QglzV7ThiXP81/N26S+ukJtY/A3Wv1h08rDYBQTIXFVJ8kMh03HStt35 MaHI0Lbed906x4TeDFBz9/HwS5+gyOsWMdyimUgg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/91807] [9/10/11 Regression] std::variant with multiple identical types assignment fail to compile Date: Thu, 02 Jul 2020 19:44:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: needs-bisection, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com X-Bugzilla-Target-Milestone: 9.4 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2020 19:44:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91807 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Ville Voutilainen : https://gcc.gnu.org/g:eb77f6f1b74aa200b70eb0a9e261c9f3b68294a0 commit r9-8716-geb77f6f1b74aa200b70eb0a9e261c9f3b68294a0 Author: Ville Voutilainen Date: Thu Jul 2 22:16:39 2020 +0300 PR libstdc++/91807 PR libstdc++/91807 * include/std/variant (_Copy_assign_base::operator=3D(const _Copy_assign_base&): Do the move-assignment from a temporary so that the temporary is constructed with an explicit index. * testsuite/20_util/variant/91807.cc: New. (cherry picked from commit dbca7a69f276e4829354f87f2747ebff36f6090e)=