https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981
--- Comment #2 from Thibaut M. <dumoulin.thibaut at gmail dot com> --- I'm not sure to understand your statement. It looks like the switch lowering is wrong here because it takes now more time with the new GCC than the previous one. Is looks like a regression.