------- 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