aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2016-03-14 22:57:52 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-03-14 22:57:52 -0400
commit08a1cadc10b80f76033d18a8a2b6dfac53926bdc (patch)
tree628e0299b0d6ace8c2d7c8be91118c079cb61b7f /gcc
parent26a8813fa33bf0812690f848e0ef5d432587a82f (diff)
downloadgcc-08a1cadc10b80f76033d18a8a2b6dfac53926bdc.zip
gcc-08a1cadc10b80f76033d18a8a2b6dfac53926bdc.tar.gz
gcc-08a1cadc10b80f76033d18a8a2b6dfac53926bdc.tar.bz2
* c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for.
From-SVN: r234207
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c-family/c-cppbuiltin.c2
-rw-r--r--gcc/cp/ChangeLog2
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 534d605..620c806 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-14 Jason Merrill <jason@redhat.com>
+
+ * c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for.
+
2016-03-09 Richard Biener <rguenther@suse.de>
PR c/70143
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
index 19999c7..dc1f426 100644
--- a/gcc/c-family/c-cppbuiltin.c
+++ b/gcc/c-family/c-cppbuiltin.c
@@ -871,7 +871,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__cpp_namespace_attributes=201411");
cpp_define (pfile, "__cpp_enumerator_attributes=201411");
cpp_define (pfile, "__cpp_nested_namespace_definitions=201411");
- cpp_define (pfile, "__cpp_fold_expressions=201411");
+ cpp_define (pfile, "__cpp_fold_expressions=201603");
cpp_define (pfile, "__cpp_nontype_template_args=201411");
}
if (flag_concepts)
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1a668e8..949d25d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,7 +1,7 @@
2016-03-14 Casey Carter <casey@carter.net>
Jason Merrill <jason@redhat.com>
- P08184R0: Generalizing the Range-Based For Loop
+ P0184R0: Generalizing the Range-Based For Loop
* parser.c (cp_convert_range_for): Set the type of __end separately.
(cp_parser_perform_range_for_lookup): Allow different begin/end
types if they are comparable.