Message ID | m3k4dp1z5q.fsf@redhat.com |
---|---|
State | New |
Headers | show |
Index: gcc/config/rx/rx.c =================================================================== --- gcc/config/rx/rx.c (revision 173815) +++ gcc/config/rx/rx.c (working copy) @@ -2638,7 +2638,7 @@ static int rx_memory_move_cost (enum machine_mode mode, reg_class_t regclass, bool in) { - return (in ? 2 : 0) + memory_move_secondary_cost (mode, regclass, in); + return (in ? 2 : 0) + REGISTER_MOVE_COST (mode, regclass, regclass); } /* Convert a CC_MODE to the set of flags that it represents. */