aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2016-11-14 20:00:32 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-11-14 20:00:32 +0100
commit8e745a17093aa4b5965fcf327c9d76f27e6c852f (patch)
tree1702fcc51e3bd50c33635a1cc5fdef029234f7d3 /gcc/c
parentbf166718a9252bc7f867cbbe4e7772bf731acb0e (diff)
downloadgcc-8e745a17093aa4b5965fcf327c9d76f27e6c852f.zip
gcc-8e745a17093aa4b5965fcf327c9d76f27e6c852f.tar.gz
gcc-8e745a17093aa4b5965fcf327c9d76f27e6c852f.tar.bz2
c-cppbuiltin.c (c_cpp_builtins): Define __cpp_structured_bindings.
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_structured_bindings. * g++.dg/cpp1z/feat-cxx1z.C: Test __cpp_structured_bindings macro. From-SVN: r242395
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog74
1 files changed, 37 insertions, 37 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 75f39d7..1cb30e7 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,41 +1,41 @@
2016-11-14 Prasad Ghangal <prasad.ghangal@gmail.com>
- Richard Biener <rguenther@suse.de>
+ Richard Biener <rguenther@suse.de>
- * Make-lang.in (C_AND_OBJC_OBJS): Add gimple-parser.o.
- * config-lang.in (gtfiles): Add c/c-parser.h.
- * c-tree.h (enum c_declspec_word): Add cdw_gimple.
- (struct c_declspecs): Add gimple_pass member and gimple_p flag.
- * c-parser.c (enum c_id_kind, struct c_token,
- c_parser_next_token_is, c_parser_next_token_is_not,
- c_parser_next_token_is_keyword,
- enum c_lookahead_kind, enum c_dtr_syn, enum c_parser_prec):
- Split out to ...
- * c-parser.h: ... new header.
- * c-parser.c: Include c-parser.h and gimple-parser.h.
+ * Make-lang.in (C_AND_OBJC_OBJS): Add gimple-parser.o.
+ * config-lang.in (gtfiles): Add c/c-parser.h.
+ * c-tree.h (enum c_declspec_word): Add cdw_gimple.
+ (struct c_declspecs): Add gimple_pass member and gimple_p flag.
+ * c-parser.c (enum c_id_kind, struct c_token,
+ c_parser_next_token_is, c_parser_next_token_is_not,
+ c_parser_next_token_is_keyword,
+ enum c_lookahead_kind, enum c_dtr_syn, enum c_parser_prec):
+ Split out to ...
+ * c-parser.h: ... new header.
+ * c-parser.c: Include c-parser.h and gimple-parser.h.
(c_parser_peek_token, c_parser_peek_2nd_token,
- c_token_starts_typename, c_parser_next_token_starts_declspecs,
- c_parser_next_tokens_start_declaration, c_parser_consume_token,
- c_parser_error, c_parser_require, c_parser_skip_until_found,
- c_parser_declspecs, c_parser_declarator, c_parser_peek_nth_token,
- c_parser_type_name): Export.
- (c_parser_tokens_buf): New function.
- (c_parser_error): Likewise.
- (c_parser_set_error): Likewise.
- (c_parser_declspecs): Handle RID_GIMPLE.
+ c_token_starts_typename, c_parser_next_token_starts_declspecs,
+ c_parser_next_tokens_start_declaration, c_parser_consume_token,
+ c_parser_error, c_parser_require, c_parser_skip_until_found,
+ c_parser_declspecs, c_parser_declarator, c_parser_peek_nth_token,
+ c_parser_type_name): Export.
+ (c_parser_tokens_buf): New function.
+ (c_parser_error): Likewise.
+ (c_parser_set_error): Likewise.
+ (c_parser_declspecs): Handle RID_GIMPLE.
(c_parser_declaration_or_fndef): Parse __GIMPLE marked body
via c_parser_parse_gimple_body.
- * c-parser.h (c_parser_peek_token, c_parser_peek_2nd_token,
- c_token_starts_typename, c_parser_next_token_starts_declspecs,
- c_parser_next_tokens_start_declaration, c_parser_consume_token,
- c_parser_error, c_parser_require, c_parser_skip_until_found,
- c_parser_declspecs, c_parser_declarator, c_parser_peek_nth_token,
- c_parser_type_name): Declare.
+ * c-parser.h (c_parser_peek_token, c_parser_peek_2nd_token,
+ c_token_starts_typename, c_parser_next_token_starts_declspecs,
+ c_parser_next_tokens_start_declaration, c_parser_consume_token,
+ c_parser_error, c_parser_require, c_parser_skip_until_found,
+ c_parser_declspecs, c_parser_declarator, c_parser_peek_nth_token,
+ c_parser_type_name): Declare.
(struct c_parser): Declare forward.
(c_parser_tokens_buf): Declare.
- (c_parser_error): Likewise.
- (c_parser_set_error): Likewise.
- * gimple-parser.c: New file.
- * gimple-parser.h: Likewise.
+ (c_parser_error): Likewise.
+ (c_parser_set_error): Likewise.
+ * gimple-parser.c: New file.
+ * gimple-parser.h: Likewise.
2016-09-11 Le-Chun Wu <lcwu@google.com>
Mark Wielaard <mjw@redhat.com>
@@ -2159,13 +2159,13 @@
2014-12-20 Martin Uecker <uecker@eecs.berkeley.edu>
* c-typeck.c: New behavious for pointers to arrays with qualifiers
- (common-pointer-type): For pointers to arrays take qualifiers from
+ (common-pointer-type): For pointers to arrays take qualifiers from
element type.
- (build_conditional_expr): Add warnings for lost qualifiers.
+ (build_conditional_expr): Add warnings for lost qualifiers.
(comp-target-types): Allow pointers to arrays with different qualifiers.
- (convert-for-assignment): Adapt warnings for discarded qualifiers. Add
+ (convert-for-assignment): Adapt warnings for discarded qualifiers. Add
WARNING_FOR_QUALIFIERS macro and rename WARN_FOR_QUALIFIERS
- to PEDWARN_FOR_QUALIFIERS.
+ to PEDWARN_FOR_QUALIFIERS.
2014-12-17 Jakub Jelinek <jakub@redhat.com>
@@ -2338,9 +2338,9 @@
2014-10-13 Anthony Brandon <anthony.brandon@gmail.com>
- * c-parser.c (c_parser_all_labels): New function to replace
+ * c-parser.c (c_parser_all_labels): New function to replace
the duplicate code.
- (c_parser_statement): Call the new function.
+ (c_parser_statement): Call the new function.
2014-10-09 Marek Polacek <polacek@redhat.com>