From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 76B9E3857C64; Mon, 24 Aug 2020 12:33:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76B9E3857C64 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598272381; bh=4tOzl/uqyk9yi6ndf2aFPSubMsC4d2WXZs67idocRsg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JvpbVlVF7ryYIuzlAKoJxaA2LVIohLkfLc/IAz1WlUi0syTvOtyesH0SL69aImhd/ HqCk3pT0fU2DtcnMACAfFdgdozfCfLcW4ZxCbLVBX+iCRL2hkjDqkgmg2fJ4RmmCi4 FFQoGehMzOHGl99bznqpXW4ALIhQgbSokpng48eQ= From: "kndevl at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/96766] std::swap(std::variant, std::variant) triggers undefined behavior sanitizer Date: Mon, 24 Aug 2020 12:33:01 +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: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kndevl at outlook dot com 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 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: Mon, 24 Aug 2020 12:33:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96766 --- Comment #1 from Karthik Nishanth --- Reproducer https://www.godbolt.org/z/Whz6ab=