This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]