r251947 - in /branches/gcc-6-branch/gcc: c-fami...

redi@gcc.gnu.org redi@gcc.gnu.org
Sun Sep 10 09:05:00 GMT 2017


Author: redi
Date: Sun Sep 10 09:05:31 2017
New Revision: 251947

URL: https://gcc.gnu.org/viewcvs?rev=251947&root=gcc&view=rev
Log:
PR c++/81852 define feature-test macro for -fthreadsafe-statics

gcc/c-family:

	PR c++/81852
	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_threadsafe_static_init.

gcc/testsuite:

	PR c++/81852
	* g++.dg/cpp1y/feat-cxx11.C: Check __cpp_threadsafe_static_init.
	* g++.dg/cpp1y/feat-cxx14.C: Likewise.
	* g++.dg/cpp1y/feat-cxx98.C: Likewise.
	* g++.dg/cpp1y/feat-neg.C: Likewise.
	* g++.dg/cpp1z/feat-cxx1z.C: Likewise.

Modified:
    branches/gcc-6-branch/gcc/c-family/ChangeLog
    branches/gcc-6-branch/gcc/c-family/c-cppbuiltin.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx11.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx98.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/feat-neg.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C



More information about the Gcc-cvs mailing list