diff options
author | Jan Hubicka <jh@suse.cz> | 2000-07-30 18:44:13 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2000-07-30 18:44:13 +0000 |
commit | e251e2a27f3a38da3d71a016efffa50ec324bbbb (patch) | |
tree | 2c6fd84da6f0c23faff8a5ea847eb2f65a7c2b4c /gcc/gcse.c | |
parent | e8dc6d50748c9fa9b1f572e1b0a39c6ac1d222bf (diff) | |
download | gcc-e251e2a27f3a38da3d71a016efffa50ec324bbbb.zip gcc-e251e2a27f3a38da3d71a016efffa50ec324bbbb.tar.gz gcc-e251e2a27f3a38da3d71a016efffa50ec324bbbb.tar.bz2 |
gcse.c (try_replace_reg): Use validate_replace_rtx_subexp instead of replace_rtx.
* gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
instead of replace_rtx.
* recog.c (validate_replace_rtx_subexp): New function.
* recog.h (validate_replace_rtx_subexp): Declare.
From-SVN: r35349
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3578,8 +3578,10 @@ try_replace_reg (from, to, insn) { rtx simplified; + if (!validate_replace_rtx_subexp (from, to, insn, &XEXP (note, 0))) + abort(); + src = XEXP (note, 0); - replace_rtx (src, from, to); /* Try to simplify resulting note. */ simplified = simplify_rtx (src); |