https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at gcc dot gnu.org

--- Comment #7 from Florian Weimer <fw at gcc dot gnu.org> ---
Furthermore, if I don't misread the standard, the expectation is that if an
implementation does not support threads, it still recognizes _Thread_local and
mostly ignores it, so that it is available even if __STDC_NO_THREADS__ is not
defined.  (Which is of course rather dodgy if you need to conform to an
existing ABI for thread-local variables, so I think the committee made a
mistake here.)

__STDC_NO_THREADS__ only reflects the existence of the <threads.h> and nothing
else.

Reply via email to