summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-04 04:25:51 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-04 04:25:51 +0000
commit52ce4c9b273a80161cc2b25ca9289e007c258278 (patch)
tree4839220bb705b7a14417ca2f120abb25b7e4e6d7 /gcc/optabs.c
parentac5e00d3f37fa940ed51493fa157b016a97c35ae (diff)
downloadgcc-52ce4c9b273a80161cc2b25ca9289e007c258278.tar.gz
* optabs.c (add_equal_note): Delete SUBREG_REG use.
Fixes PR c/7872. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63762 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index e30e47720ca..d4eaf6c967a 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