]> gcc.gnu.org Git - gcc.git/commitdiff
(mark_used_regs, case SUBREG): Only fall through to REG case
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Mar 1995 22:34:41 +0000 (14:34 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Mar 1995 22:34:41 +0000 (14:34 -0800)
if operand is a REG.

From-SVN: r9247

gcc/flow.c

index 585d240d690810809c2eef238699f8903fc3d044..5ebaf25a2afadeb058733a4602ea2339b11a4ea9 100644 (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:
This page took 0.100009 seconds and 5 git commands to generate.