https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54907
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Known to work| |4.8.1 Ever confirmed|0 |1 Known to fail| |4.6.4, 4.7.4 Last reconfirmed| |2021-08-12 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The C part of this bug was fixed with r0-120559. I don't know what fixed the C++ side of things though because it was before 4.7.x. A testcase for this should definitely be put in.