OSDN Git Service

do not combine asm stmts in scan_loop
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2001 09:36:06 +0000 (09:36 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2001 09:36:06 +0000 (09:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43178 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/loop.c

index 0e2f527..ad24ae5 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 4a41c2d..34bc862 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