aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-08-10 18:38:34 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-08-10 18:38:34 -0400
commit452df4a4e62dc8e2ff2ccd0828cde674025fb292 (patch)
tree78189187924bb3f93a58acdb42b07d23584eefc2 /gcc/c-family/c-cppbuiltin.c
parent99f9d4b1b6bd7f072a84a0b19f0397bfa50008cb (diff)
downloadgcc-452df4a4e62dc8e2ff2ccd0828cde674025fb292.zip
gcc-452df4a4e62dc8e2ff2ccd0828cde674025fb292.tar.gz
gcc-452df4a4e62dc8e2ff2ccd0828cde674025fb292.tar.bz2
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_if_constexpr.
From-SVN: r239340
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
-rw-r--r--gcc/c-family/c-cppbuiltin.c1
1 files changed, 1 insertions, 0 deletions
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