Re: compiler/compiler-gcc: Add __fallthrough

From: Joe Perches
Date: Thu Aug 24 2017 - 16:42:14 EST


On Thu, 2017-08-24 at 18:32 +0000, Shevchenko, Andriy wrote:
> On Thu, 2017-08-24 at 11:20 -0700, Joe Perches wrote:
> > On Thu, 2017-08-24 at 16:36 +0300, Andy Shevchenko wrote:
> > > On Fri, Feb 10, 2017 at 09:08:35AM -0800, Joe Perches wrote:
> > > > gcc v7.0 can warn on missing break statements from case labels
> > > > using a special __attribute__((fallthrough))__ marker.
> > > >
> > > > Add a __fallthrough convenience macro for gcc versions >= 7 and
> > > > make the generic use of __fallthrough a no-op.
> > >
> > > So, what happened to this change? Andrew?
> >
> > Did you mean to send this just to me?
>
> Oops, not exactly, though...
>
> >
> > No idea really.
> > It seemed like a decent idea though.
>
> ...it might make sense to ping Andrew.

Well, OK.