From 22b15758c0205c3b8669fa04e5223d798f21c7cc Mon Sep 17 00:00:00 2001 From: Uros Bizjak <uros@gcc.gnu.org> Date: Tue, 15 Nov 2016 16:43:40 +0100 Subject: [PATCH] ChangeLog: Fix ChangeLog entry. * gcc/ChangeLog: Fix ChangeLog entry. * gcc/c/ChangeLog: Ditto. * gcc/c-family/ChangeLog: Ditto. * gcc/cp/ChangeLog: Ditto. From-SVN: r242429 --- gcc/ChangeLog | 13 ------------- gcc/c-family/ChangeLog | 13 ++++++++++++- gcc/c/ChangeLog | 8 +++++++- gcc/cp/ChangeLog | 5 +++++ 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bc0f809858f..1e8475fe2fcf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -234,19 +234,6 @@ * doc/invoke.texi: Document Wrestrict. * pretty-print.c (pp_format): Add case for "Z" specifier. (test_pp_format): Test "Z" specifier. -c-family/ - * c-common.h (warn_for_restrict): Declare. - * c-warn.c: Include gcc-rich-location.h. - (warn_for_restrict): New function. - * c-format.c (gcc_tdiag_char_table): Add entry for "Z" specifier. - (gcc_cdiag_char_table): Likewise. - (gcc_cxxdiag_char_table): Likewise. - * c.opt (Wrestrict): New option. -c/ - * c-parser.c (c_parser_postfix_expression_after_primary): Call - warn_for_restrict. -cp/ - * parser.c (cp_parser_postfix_pexpression): Call warn_for_restrict. 2016-11-13 Eric Botcazou <ebotcazou@adacore.com> diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index cb1b35c86e5f..382606fa72cf 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -9,6 +9,17 @@ * c-common.h (enum rid): Add RID_GIMPLE, RID_PHI. * c.opt (fgimple): New option. +2016-11-13 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + PR c/35503 + * c-common.h (warn_for_restrict): Declare. + * c-warn.c: Include gcc-rich-location.h. + (warn_for_restrict): New function. + * c-format.c (gcc_tdiag_char_table): Add entry for "Z" specifier. + (gcc_cdiag_char_table): Likewise. + (gcc_cxxdiag_char_table): Likewise. + * c.opt (Wrestrict): New option. + 2016-11-13 Eric Botcazou <ebotcazou@adacore.com> * c-ada-spec.c (print_ada_declaration): For typedef declarations, look @@ -3740,7 +3751,7 @@ 2014-03-08 Paulo Matos <paulo@matos-sorge.com> - * c.opt: Enable LTO FE for fshort-double. + * c.opt: Enable LTO FE for fshort-double. 2014-03-07 Jason Merrill <jason@redhat.com> diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1cb30e719bff..e7b1b3ceb178 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,6 +1,6 @@ 2016-11-14 Prasad Ghangal <prasad.ghangal@gmail.com> 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. @@ -37,6 +37,12 @@ * gimple-parser.c: New file. * gimple-parser.h: Likewise. +2016-11-13 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + PR c/35503 + * c-parser.c (c_parser_postfix_expression_after_primary): Call + warn_for_restrict. + 2016-09-11 Le-Chun Wu <lcwu@google.com> Mark Wielaard <mjw@redhat.com> diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e8de0c9c9914..cdac3ce8aa1e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -65,6 +65,11 @@ * semantics.c (perform_koenig_lookup): Don't wrap an error in TEMPLATE_ID_EXPR. +2016-11-13 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + PR c/35503 + * parser.c (cp_parser_postfix_pexpression): Call warn_for_restrict. + 2016-11-12 Jason Merrill <jason@redhat.com> CWG 2233 -- GitLab