(mark_used_regs, case SUBREG): Only fall through to REG case

if operand is a REG.

From-SVN: r9247
This commit is contained in:
Jim Wilson 1995-03-29 14:34:41 -08:00
parent b88277f9f4
commit ce79abf32c
1 changed files with 5 additions and 0 deletions

View File

@ -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: