aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1995-05-11 13:46:51 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1995-05-11 13:46:51 +0000
commite100a3bb5d681607423d4aa1b541c1e46b047e8b (patch)
treec5d3d6b017472c90d6ecacf477f77ac004840ade /gcc/flow.c
parent08664dffb263afea1de2501309830fbe10ca1fcc (diff)
downloadgcc-e100a3bb5d681607423d4aa1b541c1e46b047e8b.zip
gcc-e100a3bb5d681607423d4aa1b541c1e46b047e8b.tar.gz
gcc-e100a3bb5d681607423d4aa1b541c1e46b047e8b.tar.bz2
Eliminate dead code caused by last patch
From-SVN: r9618
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 1143e53..a39b668 100644
--- a/gcc/flow.c
+++ b/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 ... */