* final.c (alter_subreg): Assign REGNO after changing the rtx code.