[Bug middle-end/45090] x86_64 passing structure by value to a non-inlined function causes register-resident structures to flush to stack
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 26 21:24:00 GMT 2010
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-26 21:24 -------
I think this is correct behavior dealing with how x86_64 ABI describes struct
passing and almost all registers are volatile.
Oh on the trunk test3 gets compiled into a simple loop without any struct being
saved and that is a different issue with the movl, see PR 20408.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45090
More information about the Gcc-bugs
mailing list