(arm_backwards_branch): Branching to the current insn is a backwards
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 23 Nov 1993 22:35:16 +0000 (17:35 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 23 Nov 1993 22:35:16 +0000 (17:35 -0500)
branch.

From-SVN: r6147

gcc/config/arm/arm.c

index b075207..6263698 100644 (file)
@@ -788,7 +788,7 @@ int
 arm_backwards_branch (from, to)
 int from, to;
 {
-  return (insn_addresses[to] < insn_addresses[from]);
+  return (insn_addresses[to] <= insn_addresses[from]);
 }
 
 /* Check to see if a branch is within the distance that can be done using