Eliminate dead code caused by last patch
From-SVN: r9618
This commit is contained in:
parent
08664dffb2
commit
e100a3bb5d
15
gcc/flow.c
15
gcc/flow.c
@ -2382,20 +2382,15 @@ mark_used_regs (needed, live, x, final, insn)
|
||||
!= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))))
|
||||
reg_changes_size[REGNO (SUBREG_REG (x))] = 1;
|
||||
|
||||
/* In case the SUBREG is not of a register, don't optimize */
|
||||
if (GET_CODE (SUBREG_REG (x)) != REG)
|
||||
{
|
||||
mark_used_regs (needed, live, SUBREG_REG (x), final, insn);
|
||||
return;
|
||||
}
|
||||
|
||||
/* 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 ...)). */
|
||||
/* In case the SUBREG is not of a register, don't optimize */
|
||||
if (GET_CODE (x) != REG)
|
||||
goto retry;
|
||||
{
|
||||
mark_used_regs (needed, live, x, final, insn);
|
||||
return;
|
||||
}
|
||||
|
||||
/* ... fall through ... */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user