https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94550
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I agree, it seems that the warning does precisely what is documented, so I'm going to close this. Whether such a warning should be enabled by -Wall is questionable though. Daniel, thanks for reducing the test.