This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/69008] gcc emits unneeded memory access when passing trivial structs by value (ARM)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Aug 2016 03:04:49 +0000
- Subject: [Bug middle-end/69008] gcc emits unneeded memory access when passing trivial structs by value (ARM)
- Auto-submitted: auto-generated
- References: <bug-69008-4@http.gcc.gnu.org/bugzilla/>
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.