diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1995-05-11 13:46:51 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1995-05-11 13:46:51 +0000 |
commit | e100a3bb5d681607423d4aa1b541c1e46b047e8b (patch) | |
tree | c5d3d6b017472c90d6ecacf477f77ac004840ade /gcc/flow.c | |
parent | 08664dffb263afea1de2501309830fbe10ca1fcc (diff) | |
download | gcc-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.c | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -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 ... */ |