From 4e9633f00b5cde065659d7a9de19fbd4d92a22ad Mon Sep 17 00:00:00 2001
From: Jeff Law <law@gcc.gnu.org>
Date: Sun, 17 Aug 1997 20:06:48 -0600
Subject: [PATCH] Fix typos in last haifa change.

From-SVN: r14827
---
 gcc/loop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/loop.c b/gcc/loop.c
index f7d79b391878..d3651638ad34 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -7109,7 +7109,7 @@ void analyze_loop_iterations (loop_start, loop_end)
 
   /* make sure that the last loop insn is a conditional jump */
   last_loop_insn = PREV_INSN (loop_end);
-  if (GET_CODE (last_loop_insn != JUMP_INSN) || !condjump_p (last_loop_insn))
+  if (GET_CODE (last_loop_insn) != JUMP_INSN || !condjump_p (last_loop_insn)) {
     if (loop_dump_stream)
       fprintf (loop_dump_stream,
               "analyze_loop_iterations %d: BCT instrumentation failed: invalid jump at loop end\n",
@@ -7300,7 +7300,7 @@ insert_bct (loop_start, loop_end)
      This check is repeated from analyze_loop_iterations (),
      because unrolling might have changed that.  */
   if (GET_CODE (PREV_INSN (loop_end)) != JUMP_INSN
-      || !is_condjump_p (PREV_INSN (loop_end)))
+      || !is_condjump_p (PREV_INSN (loop_end))) {
     if (loop_dump_stream)
       fprintf (loop_dump_stream,
 	      "insert_bct: not instrumenting BCT because of invalid branch\n");
-- 
GitLab