From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9E5A7385840B; Fri, 4 Nov 2022 09:42:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E5A7385840B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667554940; bh=IHZPlcfAfD9wQ30FER2985hTQULK8+a5yh9wdm0zRTs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=saszXBcrYpyZLtTBCWv7r8MBzQN9w+83GGYMFurKkzx3sNBB9B+EYLZUff1bwHrZ4 WC2rXAl2uA7xg2NclYRBfQRHd8ZCCA1NMJZMmS75IBUpnAh0ijj6bP1xmgiHPEDIur N6M7LC5pL30jWOWJbWnHshkHsQw8gyETPMRXBfkk= From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107500] Useless atexit entry for ~constant_init in eh_globals.cc Date: Fri, 04 Nov 2022 09:42: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: 12.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D107500 Sebastian Huber changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian.huber@embedded-br | |ains.de --- Comment #19 from Sebastian Huber -= -- I just have a side note. Enabling the thread-local storage may be an option= for targets with limited memory resources. Newlib has the configuration option --enable-newlib-reent-thread-local to use thread-local objects instead of o= ne big struct _reent.=