[Bug c/100353] [11/12 Regression] Accepts invalid label
harald at gigawatt dot nl
gcc-bugzilla@gcc.gnu.org
Fri Apr 30 13:25:39 GMT 2021
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
More information about the Gcc-bugs
mailing list