https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85637
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Invalid as explained. Using local (auto) variables (non-references) can improve the code to what you want it to be.