* c-cppbuiltin.c (c_cpp_builtins): Update __cpp_concepts value.

From-SVN: r241376
This commit is contained in:
Jason Merrill 2016-10-20 09:49:28 -04:00 committed by Jason Merrill
parent 916de0338d
commit 24bc7bf417
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2016-10-20 Jason Merrill <jason@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): Update __cpp_concepts value.
2016-10-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
* c-common.c (c_common_truthvalue_conversion): Warn only for signed

View File

@ -940,9 +940,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__cpp_deduction_guides=201606");
}
if (flag_concepts)
/* Use a value smaller than the 201507 specified in
the TS, since we don't yet support extended auto. */
cpp_define (pfile, "__cpp_concepts=201500");
cpp_define (pfile, "__cpp_concepts=201507");
if (flag_tm)
/* Use a value smaller than the 201505 specified in
the TS, since we don't yet support atomic_cancel. */