https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113825
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- This is diagnosed as expected with -pedantic (given a standard older than C23) or -Wc11-c23-compat (even in C23 mode); I see no reason for this to be different from any other extension that doesn't affect the semantics of code valid in an older standard version.