https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39249
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Known to work| |4.5.4 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So the reason why it was failing on arm was because on arm, the constructors return this. But I don't know what change fixed it for 4.5+.