From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 14200385E449; Fri, 15 Mar 2024 22:26:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14200385E449 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710541585; bh=0FPu6uKO4FZ6Iil2wf2HVpFAgPOxeIGYqb/b0FlKe7I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WHG/Rh+K71wOX/3HMzfNmxt/JUsUo38g7igrtYrel7Rt5bdetfT/o36DdDCNSyFOF 4DMXaUuTwgvblaw4hDA2/KA7y/PP+dunoRj7iY/zB7kx9NFyjbJJtqNyTdpYhtOP8k A+A76PV5RS7t1BE+XWjconyKRN4LSkT7dom7axFI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114357] Add a way to not call deconstructors for non-auto decls, like clang's no_destroy attribute Date: Fri, 15 Mar 2024 22:26:24 +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: unknown X-Bugzilla-Keywords: 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=3D114357 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D19661 --- Comment #6 from Andrew Pinski --- There are better ways of optimizing out atexit calls. PR 19661 has existed = for years but nobody has decided to fix it since it has been a low hanging fruit and such.=