On Fri, Sep 23, 2016 at 10:22:15AM -0400, Jason Merrill wrote: > On Thu, Sep 22, 2016 at 9:59 AM, Marek Polacek <pola...@redhat.com> wrote: > >> This is very close, thanks. Let's give a more helpful warning about > >> > >> [[fallthrough]] 0; > >> __attribute__ ((fallthrough)) 0; > >> > >> both here and in cp_parser_statement, something like "fallthrough attribute > >> not followed by ';'" > > > > Done. And I made similar tweaks in the C FE. > > The C++ changes are OK.
And the middle-end changes are ok too. Jakub