]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2016 02:57:52 +0000 (02:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2016 02:57:52 +0000 (02:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234207 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-family/ChangeLog
gcc/c-family/c-cppbuiltin.c
gcc/cp/ChangeLog

index 534d6058870c14dcb119e260908e9018861cae70..620c8069e0d94cae13ff49d1c778e3c0b8009093 100644 (file)
@@ -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
index 19999c7ef1d8762ebf80ff76e2de2404de16842d..dc1f426c7a87b0a5dcc00d241270d24d8d46a744 100644 (file)
@@ -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)
index 1a668e89fdcfe78ddebcfed22681bbd66584c6af..949d25da2477b7c47584546483d61640e3b98390 100644 (file)
@@ -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.