gen_reload: Correct parameter for fatal_insn call
Observed when disabling LEGITIMIZE_RELOAD_ADDRESS for cris-elf: the current code doesn't handle the post-cc0 parallel-with-clobber-of-cc0 sets, dropping down into the fatal_insn call. Following the code, it's obvious that the variable "set" is always NULL at the call. The intended parameter is "in". * reload1.cc (gen_reload): Correct rtx parameter for fatal_insn "failure trying to reload" call.
This commit is contained in:
parent
abbdb623c4
commit
d68adf8537
1 changed files with 1 additions and 1 deletions
|
@ -8606,7 +8606,7 @@ gen_reload (rtx out, rtx in, int opnum, enum reload_type type)
|
|||
return insn;
|
||||
}
|
||||
|
||||
fatal_insn ("failure trying to reload:", set);
|
||||
fatal_insn ("failure trying to reload:", in);
|
||||
}
|
||||
/* If IN is a simple operand, use gen_move_insn. */
|
||||
else if (OBJECT_P (in) || GET_CODE (in) == SUBREG)
|
||||
|
|
Loading…
Add table
Reference in a new issue