Commit fbdd0b09 by Richard Henderson Committed by Richard Henderson

re PR middle-end/21318 (ICE in instantiate_virtual_regs_in_insn)

        PR middle-end/21318
        * function.c (instantiate_virtual_regs_in_insn): Use the mode
        from recog_data instead of insn_data.

From-SVN: r99205
parent 2098fe9e
2004-05-03 Richard Henderson <rth@redhat.com>
PR middle-end/21318
* function.c (instantiate_virtual_regs_in_insn): Use the mode
from recog_data instead of insn_data.
2005-05-03 DJ Delorie <dj@redhat.com>
* common.opt (fdiagnostics-show-option): No variable is needed.
......
......@@ -1485,8 +1485,8 @@ instantiate_virtual_regs_in_insn (rtx insn)
end_sequence ();
emit_insn_before (seq, insn);
}
x = simplify_gen_subreg (insn_data[insn_code].operand[i].mode,
new, GET_MODE (new), SUBREG_BYTE (x));
x = simplify_gen_subreg (recog_data.operand_mode[i], new,
GET_MODE (new), SUBREG_BYTE (x));
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment