From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8A4FB3858D28; Fri, 24 Mar 2023 00:54:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A4FB3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679619296; bh=q1RDuBwntBXWMTl1DaEUPTZzZ+Kt5tL91wUQXXDxaO4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uslHZUkFK7ekHa75vfs8oPnV5g9JtcXXgEo5hwvur9+LUNdbyqTHdFfzClRJOyKpd iRlm+4xfy8TG6Tbwd1tEgWGyQQ1vsJ4zG4qZ5bmiQzP+1PcWwX/G7RVkqd4bQOgLjO n5JSEzoZ9ts/1qUHYUxT7Q6KkWuYlqaIwdlxYJ6I= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109268] Guard variable still provided for static constinit variable Date: Fri, 24 Mar 2023 00:54:56 +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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: see_also 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=3D109268 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D19661 --- Comment #1 from Andrew Pinski --- It is the deconstructor which is causing the need for the guard variable. Very much related to PR 19661 .=