https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22249
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Martin Uecker from comment #2) > This is diagnosed in GCC 11. > > https://godbolt.org/z/GcE19jqbK ...as a warning, but I think the original reporter wanted it to be an error? (or at least as a pedwarn instead of a regular warning)