https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69982
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, there is a difference, __thread is an extension, while _Thread_local is standard in a later version of the standard, and __thread uses the implementation namespace, so it is similar for the compiler not complaining about __attribute__((__noinline__)) even in -std=c99 -pedantic, or about __extension__ etc.