------- Comment #1 from pluto at agmk dot net 2007-03-05 11:11 ------- 3.4.6 generates a nice code:
_Z7convertj: movl %edi, -4(%rsp) movss -4(%rsp), %xmm0 ret _Z4loadPv: movzwl (%rdi), %eax ret -- pluto at agmk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.2.0 Known to work| |3.4.6 Summary|redundant reg/mem |[4.2 regression] redundant |stores/moves |reg/mem stores/moves http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961