[Bug middle-end/69008] gcc emits unneeded memory access when passing trivial structs by value (ARM)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 5 03:05:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69008

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |middle-end

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I know there are other bug reports about this exact same thing.  One for
PowerPC but I can't seem to find it.  I thought I had filed it but it looks
like someone else did.
>From what I remember Trivial is given BLKmode so it always go to the stack even
though the it is passed via two registers.


More information about the Gcc-bugs mailing list