From ce79abf32c694488933ef4594f8adfe6317236d7 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 29 Mar 1995 14:34:41 -0800 Subject: [PATCH] (mark_used_regs, case SUBREG): Only fall through to REG case if operand is a REG. From-SVN: r9247 --- gcc/flow.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/flow.c b/gcc/flow.c index 585d240..5ebaf25 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -2385,6 +2385,11 @@ mark_used_regs (needed, live, x, final, insn) /* While we're here, optimize this case. */ x = SUBREG_REG (x); + /* Must verify that it is a register, since the RS/6000 port has + (subreg:QI (lshift:SI ...)). */ + if (GET_CODE (x) != REG) + goto retry; + /* ... fall through ... */ case REG: -- 2.7.4