From 08a1cadc10b80f76033d18a8a2b6dfac53926bdc Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 14 Mar 2016 22:57:52 -0400 Subject: [PATCH] * c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for. From-SVN: r234207 --- gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/c-cppbuiltin.c | 2 +- gcc/cp/ChangeLog | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 534d6058870..620c8069e0d 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2016-03-14 Jason Merrill + + * c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for. + 2016-03-09 Richard Biener PR c/70143 diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index 19999c7ef1d..dc1f426c7a8 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 1a668e89fdc..949d25da247 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,7 +1,7 @@ 2016-03-14 Casey Carter Jason Merrill - 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. -- 2.30.2