[Bug c/111526] inconsistent handling of declaration after label

2023-09-21 Thread P at draigBrady dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 --- Comment #4 from Pádraig Brady --- Interestingly, gcc 13 _does_ warn with -Wc11-c2x-compat, but does not warn with -Wpedantic

[Bug c/111526] inconsistent handling of declaration after label

2023-09-21 Thread P at draigBrady dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 --- Comment #3 from Pádraig Brady --- Created attachment 55964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55964&action=edit coreutils tail.c compilation unit This should warn with -Wpedantic, but doesn't on gcc 13

[Bug c/111526] New: inconsistent handling of declaration after label

2023-09-21 Thread P at draigBrady dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 Bug ID: 111526 Summary: inconsistent handling of declaration after label Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: