https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848
--- Comment #10 from Aaron Ballman <aaron at aaronballman dot com> --- (In reply to Jonathan Wakely from comment #9) > Personally I'd like it diagnosed in GNU modes, but this is pretty much the > poster child for "conforming extension diagnosed with -pedantic" so I can > see the argument for not diagnosing it by default. Agreed -- I also see the argument for not diagnosing it by default. Normally I wouldn't suggest such a thing and I would not consider this to be a precedent to be applied to other extensions if it does get warned on by default. (I think the only other extension that might maaaayyyybbbbeeee be in the same category would be nested functions in C, but I've not spent nearly enough time researching that one to be sure.)