https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, | |missed-optimization Priority|P3 |P2 --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- So this is also a missed optimization on the C++ side? Btw, the C++ FE warns for me as well (on trunk).