https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78391
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c++ Severity|enhancement |normal --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- So the missing warning seems like it might be due to a bug in the C++ front end.