------- Comment #7 from enrico dot scholz at informatik dot tu-chemnitz dot de 2009-10-23 13:39 ------- When I read the RTL dumps correctly, gcc tries to assign SP to wCGR0. This can be done by the
tmrc sp, wCGR0 assembly instruction which will be issued by alternative 6 in --- iwmmxt.md --- (define_insn "*iwmmxt_movsi_insn" [(set (match_operand:SI 0 "nonimmediate_operand" "=rk,r,r,rk, m,z,r,?z,Uy,z") (match_operand:SI 1 "general_operand" "rk, I,K,mi,rk,r,z,Uy,z, z"))] ... case 6: return \"tmrc\\t%0, %1\"; The corresponding constraints pair is ['r', 'z'] and it is matched by [sp, wcgr0] afais. What could be the reason for the ICE? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40836