From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC61138582AE; Mon, 25 Jul 2022 16:59:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC61138582AE From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/106435] constructor of thread_local static member is not called Date: Mon, 25 Jul 2022 16:59:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: cf_known_to_fail cf_gccbuild cf_gcchost cf_gcctarget 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2022 16:59:36 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106435 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |13.0 Build|aarch64-apple-darwin |*-apple-darwin* Host|aarch64-apple-darwin |*-apple-darwin* Target|aarch64-apple-darwin |*-apple-darwin* --- Comment #6 from Iain Sandoe --- confirmed with x86_64 on master; I would not expect this to be different on= any of the archs. your finding that putting into one file makes it work confirms my suspicion about the nature of the problem - I need to find Nathan's change that was d= one for ELF-like targets and see if a corresponding one can be made for emulated TLS.=