Commit ce79abf3 by Jim Wilson

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

if operand is a REG.

From-SVN: r9247
parent b88277f9
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment