Commit 95193030 by Richard Earnshaw Committed by Richard Earnshaw

unroll.c (verify_addresses): Use validate_replace_rtx to undo the changes.

* unroll.c (verify_addresses): Use validate_replace_rtx to undo the
changes.  Abort if the undo fails.

From-SVN: r20404
parent bfed8dac
Wed Jun 10 09:47:13 1998 Richard Earnshaw (rearnsha@arm.com)
* unroll.c (verify_addresses): Use validate_replace_rtx to undo the
changes. Abort if the undo fails.
Wed Jun 10 08:56:27 1998 John Carr <jfc@mit.edu> Wed Jun 10 08:56:27 1998 John Carr <jfc@mit.edu>
* reload1.c (reload_cse_simplify_operands): Do not call gen_rtx_REG * reload1.c (reload_cse_simplify_operands): Do not call gen_rtx_REG
......
...@@ -2664,9 +2664,10 @@ verify_addresses (v, giv_inc, unroll_number) ...@@ -2664,9 +2664,10 @@ verify_addresses (v, giv_inc, unroll_number)
|| ! validate_replace_rtx (*v->location, last_addr, v->insn)) || ! validate_replace_rtx (*v->location, last_addr, v->insn))
ret = 0; ret = 0;
/* Now put things back the way they were before. This will always /* Now put things back the way they were before. This should always
succeed. */ succeed. */
validate_change (v->insn, v->location, orig_addr, 0); if (! validate_replace_rtx (*v->location, orig_addr, v->insn))
abort ();
return ret; return ret;
} }
......
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