https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
--- Comment #8 from Iain Sandoe ---
I think we can fix this for non-alias targets by building stub functions
instead of the alias. There is a small penalty for size and speed from the
call, but for at least x86 at O2 we sibcall and effectively e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
Iain Sandoe changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
Iain Sandoe changed:
What|Removed |Added
Known to fail||13.0
Build|aarch64-apple-dar
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
--- Comment #5 from Francois-Xavier Coudert ---
> there was a change made to support cross-TU static inits for TLS
For what it's worth, putting everything in a single cpp file makes it work as
expected.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
--- Comment #4 from Andrew Pinski ---
(In reply to Iain Sandoe from comment #3)
> (In reply to Andrew Pinski from comment #2)
> > This might be an emulated TLS issue ... As it looks like it is not working
> > on mingw either.
>
> quite possibly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
--- Comment #3 from Iain Sandoe ---
(In reply to Andrew Pinski from comment #2)
> This might be an emulated TLS issue ... As it looks like it is not working
> on mingw either.
quite possibly;
- there was a change made to support cross-TU static
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
--- Comment #2 from Andrew Pinski ---
This might be an emulated TLS issue ... As it looks like it is not working on
mingw either.