https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93894
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning is not sensitive to what is being switched on. That is the inner most switch is considered as falling through as the switch is not checked for the values it will be switched on.