https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49773
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |6.0 Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- starting in GCC 6 can do it without aliasing checks. Starting in GCC 8, the prologue code has improved. So we can close this as fixed in GCC 6 really.