aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2001-06-11 09:36:06 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2001-06-11 09:36:06 +0000
commit89cc6be35070f5aa20e0b6189daa6788726ea220 (patch)
tree98c61f767ab3df7994911585eb97ebe6bf6bca4c /gcc
parent5fd83d4e519fbf461c701b789f06ac3a5892c84c (diff)
downloadgcc-89cc6be35070f5aa20e0b6189daa6788726ea220.zip
gcc-89cc6be35070f5aa20e0b6189daa6788726ea220.tar.gz
gcc-89cc6be35070f5aa20e0b6189daa6788726ea220.tar.bz2
do not combine asm stmts in scan_loop
From-SVN: r43178
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/loop.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e2f527..ad24ae5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/loop.c b/gcc/loop.c
index 4a41c2d..34bc862 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