On Fri, Sep 23, 2016 at 04:23:29PM +0200, Jakub Jelinek wrote: > 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.
Thanks a lot. As mentioned in the other mail I've just sent, I'll give Joseph a chance to comment on this, if he wishes to. Marek