aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 9ee4640..60be87a 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2967,7 +2967,7 @@ insn_dead_p (x, needed, call_ok, notes)
while (GET_CODE (r) == SUBREG || GET_CODE (r) == STRICT_LOW_PART
|| GET_CODE (r) == ZERO_EXTRACT)
- r = SUBREG_REG (r);
+ r = XEXP (r, 0);
if (GET_CODE (r) == REG)
{