https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69871
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-02-19 Summary|Type punned structs |Type punned structs |returned by value optimized |returned by value optimized |poorly |poorly due to SRA Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed also on x86_64. It's SRA messing things up - it possibly should take into account whether args / return values will end up in registers or not [maybe we should re-write those in to SSA in some way].