diff options
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index c18ee6703a8..f09f8b731c6 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -8562,12 +8562,12 @@ emit_reload_insns (struct insn_chain *chain) Return the emitted insn if valid, else return NULL. */ static rtx_insn * -emit_insn_if_valid_for_reload (rtx insn) +emit_insn_if_valid_for_reload (rtx pat) { rtx_insn *last = get_last_insn (); int code; - insn = emit_insn (insn); + rtx_insn *insn = emit_insn (pat); code = recog_memoized (insn); if (code >= 0) @@ -8577,7 +8577,7 @@ emit_insn_if_valid_for_reload (rtx insn) validity determination, i.e., the way it would after reload has completed. */ if (constrain_operands (1)) - return as_a <rtx_insn *> (insn); + return insn; } delete_insns_since (last); |