On 05/10/2016 10:51 PM, Joseph Myers wrote: > On Sat, 9 Apr 2016, Mikhail Maltsev wrote: > >> gcc/c/ChangeLog: >> >> 2016-04-08 Mikhail Maltsev <malts...@gmail.com> >> >> PR c/43651 >> * c-decl.c (declspecs_add_qual): Warn when -Wduplicate-decl-specifier >> is enabled. >> * c-errors.c (pedwarn_c90): Return true if warned. >> * c-tree.h (pedwarn_c90): Change return type to bool. >> (enum c_declspec_word): Add new enumerator cdw_atomic. >> >> gcc/ChangeLog: >> >> 2016-04-08 Mikhail Maltsev <malts...@gmail.com> >> >> PR c/43651 >> * doc/invoke.texi (Wduplicate-decl-specifier): Document new option. >> >> gcc/testsuite/ChangeLog: >> >> 2016-04-08 Mikhail Maltsev <malts...@gmail.com> >> >> PR c/43651 >> * gcc.dg/Wduplicate-decl-specifier-c11.c: New test. >> * gcc.dg/Wduplicate-decl-specifier.c: Likewise. >> >> >> gcc/c-family/ChangeLog: >> >> 2016-04-08 Mikhail Maltsev <malts...@gmail.com> >> >> PR c/43651 >> * c.opt (Wduplicate-decl-specifier): New option. > > OK. >
Committed as r236142. -- Regards, Mikhail Maltsev