https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121647
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think GCC is correct. Also break here breaks the for loop rather than the switch. See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p1306r5.html