This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proposal: remove thread_local from supported C++11 features
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Conrad S <conradsand dot arma at gmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 30 Jan 2014 14:05:49 +0000
- Subject: Re: proposal: remove thread_local from supported C++11 features
- Authentication-results: sourceware.org; auth=none
- References: <CAONgOD6GD8ZuVZZQfNHNPRvPyqH3se5RhfecEvRaK09BqT4ODg at mail dot gmail dot com>
On 30 January 2014 13:40, Conrad S wrote:
> The page covering C++0x/C++11 support in GCC, ie.
> http://gcc.gnu.org/projects/cxx0x.html
> states that the "thread_local" keyword is supported since GCC 4.8.
>
> However, thread_local is currently (gcc 4.8.2) too broken to be of real use:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59364
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58672
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55800
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57163
>
> Unless there are plans to fix it in gcc 4.8.3, I propose that
> thread_local be removed from the list of supported C++11 features, or
> at the very least changed to "partial". Having the feature as
> "supported" is plainly false advertising.
Only if you don't read the pages properly.
"Important: GCC's support for C++11 is still experimental. "
"GCC provides experimental support for the 2011 ISO C++ standard."
Anyway, removing it from the list would achieve nothing.