store-motion.c (remove_reachable_equiv_notes): Reformat long lines.
authorNathan Sidwell <nathan@acm.org>
Fri, 5 May 2017 23:24:41 +0000 (23:24 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 5 May 2017 23:24:41 +0000 (23:24 +0000)
* store-motion.c (remove_reachable_equiv_notes): Reformat long
lines.  Use for (;;).

From-SVN: r247705

gcc/ChangeLog
gcc/store-motion.c

index a2f57ac..dfce7ee 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-05  Nathan Sidwell  <nathan@acm.org>
+
+       * store-motion.c (remove_reachable_equiv_notes): Reformat long
+       lines.  Use for (;;).
+
 2017-05-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        * config/rs6000/rs6000.c (rs6000_vect_nonmem): New static var.
index 927de1b..ec2169a 100644 (file)
@@ -836,8 +836,10 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr)
 
   bitmap_clear (visited);
 
-  act = (EDGE_COUNT (ei_container (ei)) > 0 ? EDGE_I (ei_container (ei), 0) : NULL);
-  while (1)
+  act = (EDGE_COUNT (ei_container (ei))
+        ? EDGE_I (ei_container (ei), 0)
+        : NULL);
+  for (;;)
     {
       if (!act)
        {
@@ -879,7 +881,8 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr)
              continue;
 
            if (dump_file)
-             fprintf (dump_file, "STORE_MOTION  drop REG_EQUAL note at insn %d:\n",
+             fprintf (dump_file,
+                      "STORE_MOTION  drop REG_EQUAL note at insn %d:\n",
                       INSN_UID (insn));
            remove_note (insn, note);
          }
@@ -893,7 +896,9 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr)
          if (act)
            stack[sp++] = ei;
          ei = ei_start (bb->succs);
-         act = (EDGE_COUNT (ei_container (ei)) > 0 ? EDGE_I (ei_container (ei), 0) : NULL);
+         act = (EDGE_COUNT (ei_container (ei))
+                ? EDGE_I (ei_container (ei), 0)
+                : NULL);
        }
     }
 }