https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100353
Harald van Dijk <harald at gigawatt dot nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harald at gigawatt dot nl --- Comment #1 from Harald van Dijk <harald at gigawatt dot nl> --- This was intentional, this will become valid C so this is now only diagnosed with -pedantic and only in modes before C2x: https://gcc.gnu.org/onlinedocs/gcc/Mixed-Labels-and-Declarations.html