On Fri, Aug 12, 2016 at 03:58:51PM +0000, Joseph Myers wrote: > On Fri, 12 Aug 2016, Marek Polacek wrote: > > > Not sure if error is appropriate here, or whether I should downgrade the > > error to a warning and ignore the attribute. > > I'd say the semantics for uses of attributes that currently parse should > remain unchanged: they should not be reinterpreted (for non-fallthrough > attributes) to be attributes on a statement rather than on an empty > declaration.
Thanks, makes sense. I've done so now. I'll post the most recent version of the -Wimplicit-fallthrough patch after it passes testing on a few systems. Marek