------- Comment #13 from hjl dot tools at gmail dot com 2009-02-12 15:41 ------- This patch:
--- ./i386.md.class 2009-02-12 06:42:42.000000000 -0800 +++ ./i386.md 2009-02-12 07:39:03.000000000 -0800 @@ -20736,7 +20736,11 @@ [(match_dup 0) (match_operand:SI 2 "memory_operand" "")])) (clobber (reg:CC FLAGS_REG))])] - "operands[0] != operands[1]" + "operands[0] != operands[1] + && ((GENERAL_REGNO_P (REGNO (operands[0])) + && GENERAL_REGNO_P (REGNO (operands[1]))) + || (SSE_REGNO_P (REGNO (operands[0])) + && SSE_REGNO_P (REGNO (operands[1]))))" [(set (match_dup 0) (match_dup 4)) (parallel [(set (match_dup 0) (match_op_dup 3 [(match_dup 0) (match_dup 1)])) works for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39152