From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3F5853857B94; Fri, 15 Mar 2024 00:41:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F5853857B94 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710463297; bh=ovHVqfpB8IQRCB3Z3qvoZllFxy+C+Tj2Rpfw1Yu3kSI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eZ9veeuN+wvAFigbM9fQisCNYkb+8qH3gdxGkHnIATVB5q60ukAVAocVlP0y2A8E/ Ch4vu02Qr8rJITWpYzrAqoTFoS5n1M0Y++f7XSV6FFdMfItk8lvTVIRc91xH7LBKMy 9B5eBiP6j3pVTIxCilL0oquo+4xkKbgckYbS8DWY= From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107138] [12 regression] std::variant triggers false-positive 'may be used uninitialized' warning Date: Fri, 15 Mar 2024 00:41:32 +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: 12.2.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cc 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=3D107138 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13/14 regression] |[12 regression] |std::variant triggers |...> triggers |false-positive 'may be used |false-positive 'may be used |uninitialized' warning |uninitialized' warning CC| |law at gcc dot gnu.org --- Comment #14 from Jeffrey A. Law --- Works with gcc-13 and gcc-14. Adjusting regression markers.=