[Bug middle-end/69008] gcc emits unneeded memory access when passing trivial structs by value (ARM)
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 14 13:24:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69008
--- Comment #6 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Marc Mutz from comment #5)
> Why is this only "missed-optimization"? Don't these architecture's ABIs
> stipulate passing in registers, as well as the Itanium ABI? So why is this
> not a platform ABI conformance issue?
There's no conformance issue because the value is passed in registers. It's
just redundantly copied onto the stack first (and then off again).
More information about the Gcc-bugs
mailing list