https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116920
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
Ever confirmed|0 |1
Summary|GCC should warn about |GCC should warn about fall
|redundant case around |through from a case to a
|default in switch |default (without any
| |expressions)
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-10-01
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect this might be easy to handle with the other warnings dealing with
fall through.
That is this is a special case of fall through were we want to warn when there
is no statements in between.