From 89cc6be35070f5aa20e0b6189daa6788726ea220 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Mon, 11 Jun 2001 09:36:06 +0000 Subject: [PATCH] do not combine asm stmts in scan_loop From-SVN: r43178 --- gcc/ChangeLog | 4 ++++ gcc/loop.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e2f5272f8b..ad24ae54802 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-06-11 Aldy Hernandez + + * loop.c (scan_loop): Do not combine asm statements. + 2001-06-11 Michael Hayes * simplify-rtx.c (simplify_subreg): Fix offset calculation diff --git a/gcc/loop.c b/gcc/loop.c index 4a41c2d32d1..34bc862b5ac 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -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 -- 2.30.2