diff options
author | James E Wilson <wilson@tuliptree.org> | 2003-03-03 20:25:51 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2003-03-03 20:25:51 -0800 |
commit | f9d36a92e4ad722acc7b709aa9b49179eb06bd06 (patch) | |
tree | 4839220bb705b7a14417ca2f120abb25b7e4e6d7 /gcc/optabs.c | |
parent | 3bf2782272c16c9978bf3b111b8003c3d3ff8150 (diff) | |
download | gcc-f9d36a92e4ad722acc7b709aa9b49179eb06bd06.zip gcc-f9d36a92e4ad722acc7b709aa9b49179eb06bd06.tar.gz gcc-f9d36a92e4ad722acc7b709aa9b49179eb06bd06.tar.bz2 |
re PR c/7872 ([m68k]ICE on legal code, regression from 3.0 and 2.9*)
* optabs.c (add_equal_note): Delete SUBREG_REG use.
Fixes PR c/7872.
From-SVN: r63762
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index e30e477..d4eaf6c 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -171,11 +171,9 @@ add_equal_note (insns, target, code, op0, op1) return 1; if (! rtx_equal_p (SET_DEST (set), target) - /* For a STRICT_LOW_PART, the REG_NOTE applies to what is inside the - SUBREG. */ + /* For a STRICT_LOW_PART, the REG_NOTE applies to what is inside it. */ && (GET_CODE (SET_DEST (set)) != STRICT_LOW_PART - || ! rtx_equal_p (SUBREG_REG (XEXP (SET_DEST (set), 0)), - target))) + || ! rtx_equal_p (XEXP (SET_DEST (set), 0), target))) return 1; /* If TARGET is in OP0 or OP1, check if anything in SEQ sets TARGET |