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

2023-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

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

2023-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

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

2023-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 --- Comment #5 from Andrew Pinski --- Hmm, somehow the value of warn_c11_c2x_compat is being changed from -1 to 0 ... and not being changed back, maybe a __extension__ is happening incorrectly.

[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] inconsistent handling of declaration after label

2023-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 --- Comment #2 from Andrew Pinski --- Can you attach the original preprocessed source where you get no warning and you think you should. Others can reduce it.

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

2023-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111526 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-09-21 Status|UNCONFIRM