This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/88509] Missing optimization of tls initialization
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Dec 2018 04:55:24 +0000
- Subject: [Bug c++/88509] Missing optimization of tls initialization
- Auto-submitted: auto-generated
- References: <bug-88509-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88509
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>As far as I can tell this can be applied to any static tls variable
Only in functions which have non-vague linkage. static varaibles in inline
functions have to have the same ABI across TUs and there might have some in
already compiled code ...