From 452df4a4e62dc8e2ff2ccd0828cde674025fb292 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 10 Aug 2016 18:38:34 -0400 Subject: * c-cppbuiltin.c (c_cpp_builtins): Define __cpp_if_constexpr. From-SVN: r239340 --- gcc/c-family/c-cppbuiltin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/c-family/c-cppbuiltin.c') diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index 46c70ac..82ed19d 100644 --- a/gcc/c-family/c-cppbuiltin.c +++ b/gcc/c-family/c-cppbuiltin.c @@ -882,6 +882,7 @@ c_cpp_builtins (cpp_reader *pfile) cpp_define (pfile, "__cpp_nontype_template_args=201411"); cpp_define (pfile, "__cpp_range_based_for=201603"); cpp_define (pfile, "__cpp_constexpr=201603"); + cpp_define (pfile, "__cpp_if_constexpr=201606"); } if (flag_concepts) /* Use a value smaller than the 201507 specified in -- cgit v1.1