do not combine asm stmts in scan_loop
authorAldy Hernandez <aldyh@redhat.com>
Mon, 11 Jun 2001 09:36:06 +0000 (09:36 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Mon, 11 Jun 2001 09:36:06 +0000 (09:36 +0000)
From-SVN: r43178

gcc/ChangeLog
gcc/loop.c

index 0e2f5272f8bcb2aeef4d884bf6fe8e1788caf102..ad24ae548020fae6f3565fa92a11cc8caf02671a 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-11  Aldy Hernandez  <aldyh@redhat.com>
+
+        * loop.c (scan_loop): Do not combine asm statements.
+
 2001-06-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
 
        * simplify-rtx.c (simplify_subreg): Fix offset calculation
index 4a41c2d32d1b9f0549f69e72962ac5ed477df6e7..34bc862b5aca3de8638c8d8e2760311ae5e87867 100644 (file)
@@ -772,6 +772,7 @@ scan_loop (loop, flags)
                  && (REGNO_LAST_UID (regno)
                      == INSN_UID (regs->array[regno].single_usage))
                  && regs->array[regno].set_in_loop == 1
+                 && GET_CODE (SET_SRC (set)) != ASM_OPERANDS
                  && ! side_effects_p (SET_SRC (set))
                  && ! find_reg_note (p, REG_RETVAL, NULL_RTX)
                  && (! SMALL_REGISTER_CLASSES