From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69CDA3857342; Thu, 12 Oct 2023 07:30:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69CDA3857342 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697095802; bh=+tU8wdCv2uyJr/dobkXTlDIgdW5lPOEcUUSjSE8Hv0Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fU8AXPR/5DxqgNmOPNSHvcFGJ4riokPqbdRhAIRMYMpqZ+rp57/sPvh+hDhUx2zdK r2A2lgIrmnkDIzRozMeWJx7BTUiLEDdCretOZW9OvFFwzQyfPUAblR6gzYcvsccFoW gyT+gFUTekqZQRji2FD0CQsdzfn5crchhI1vPMUY= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111771] Incorrect "is used uninitialized" warning, as if zero-initialization didn't propagate through user-provided default constructors Date: Thu, 12 Oct 2023 07:30:02 +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.2.0 X-Bugzilla-Keywords: diagnostic, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111771 --- Comment #4 from Richard Biener --- -fno-lifetime-dse fixes the issue (and the diagnostic)=