https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127722

--- Comment #8 from Keith Thompson <Keith.S.Thompson at gmail dot com> ---
"GCC does not warn about adjacent case labels with no statement between them,
so that the fallthrough attribute is not needed for common patterns like:"
...

I like it.

To be pedantic, there can also be a declaration between two case
labels, or even an ordinary label:

    case 0:
    case_1:
    case 2:
    defau1t:

But perhaps this is the kind of errant pedantry which we should
not put up with.

Reply via email to