summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-10 22:38:34 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-10 22:38:34 +0000
commit0f463aecb4e37f68be966f358ba81d14b5bcaba0 (patch)
tree78189187924bb3f93a58acdb42b07d23584eefc2 /gcc/c-family/c-cppbuiltin.c
parentdf5390a9de5322cbaab3def921d3d517d4494144 (diff)
downloadgcc-0f463aecb4e37f68be966f358ba81d14b5bcaba0.tar.gz
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_if_constexpr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239340 138bc75d-0d04-0410-961f-82ee72b054a4
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 46c70ac1150..82ed19d1f8d 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