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 ...