https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121318
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andrew Pinski from comment #2) > I am not so sure, the documentation of attribute say it should override the > default. Linker can override the TLS mode attribute. Why can't compiler perform TLS optimization according to the TLS spec?