You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C front-end: labelled declarations are only supported by Visual Studio
In order to support GCC's label attributes even when the semicolon is
omitted, distinguish GCC and Visual Studio modes when parsing labelled
statements. See
https://github.com/gcc-mirror/gcc/blob/master/gcc/c/c-parser.cc#L6070
for GCC's limitation, which we now mimic. (We already supported
attributes followed by a semicolon, which GCC's documentation mandates,
but the Linux kernel doesn't always follow this rule.) Fixed regression
tests that had declarations immediately following a label.
0 commit comments