On 09/09/17 10:33 +0200, Jason Merrill wrote:
On Fri, Sep 8, 2017 at 10:03 PM, Jonathan Wakely <jwak...@redhat.com> wrote:
Define the __cpp_lib_threadsafe_static_init feature-test macro as per
recent SD-6 drafts.
Tested powerpc64le-linux and x86_64-linux.
OK for trunk?
The branches too?
Yes.
Jason
I've committed this change to
https://gcc.gnu.org/projects/cxx-status.html documenting the new
macro.
Index: htdocs/projects/cxx-status.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cxx-status.html,v
retrieving revision 1.41
diff -u -r1.41 cxx-status.html
--- htdocs/projects/cxx-status.html 11 Apr 2017 22:28:24 -0000 1.41
+++ htdocs/projects/cxx-status.html 11 Sep 2017 17:19:49 -0000
@@ -866,7 +866,7 @@
<td>Dynamic initialization and destruction with concurrency</td>
<td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm">N2660</a></td>
<td><a href="../gcc-4.3/changes.html">GCC 4.3</a></td>
- <td></td>
+ <td>__cpp_threadsafe_static_init >= 200806</td>
</tr>
<tr class="separator">