[Bug c/106929] declaration in switch-case doesn't fail since GCC 11
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 14:39:20 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106929
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This changed with r11-4813 and is intentional:
C Parser: Implement mixing of labels and code.
Implement mixing of labels and code as adopted for C2X
and process some std-attributes on labels.
More information about the Gcc-bugs
mailing list