From 6f89583213e56858ea8709d17b8d4fcc66931a76 Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 15 Mar 2016 02:57:52 +0000 Subject: [PATCH] * c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234207 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 534d6058870c..620c8069e0d9 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 19999c7ef1d8..dc1f426c7a87 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 1a668e89fdcf..949d25da2477 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.47.2