https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Component|tree-optimization |c++ --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- I don't think the warning code is doing anything wrong here. It seems like a C++ front end problem. CC'ng Marek for his input.