https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79153 --- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I'd even go as far as saying that this is WONTFIX and we will not warn for nested switches.