aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-05-05 23:24:41 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-05-05 23:24:41 +0000
commit5cf5c9dabff2f00d615ecf0464662d772113d0ec (patch)
tree954a52037a8206184d8e0971f205729f93a8e94c
parent9945596cefaa45d13ecab76b4d97ad021bc3a872 (diff)
downloadgcc-5cf5c9dabff2f00d615ecf0464662d772113d0ec.zip
gcc-5cf5c9dabff2f00d615ecf0464662d772113d0ec.tar.gz
gcc-5cf5c9dabff2f00d615ecf0464662d772113d0ec.tar.bz2
store-motion.c (remove_reachable_equiv_notes): Reformat long lines.
* store-motion.c (remove_reachable_equiv_notes): Reformat long lines. Use for (;;). From-SVN: r247705
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/store-motion.c13
2 files changed, 14 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a2f57ac..dfce7ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/store-motion.c b/gcc/store-motion.c
index 927de1b..ec2169a 100644
--- a/gcc/store-motion.c
+++ b/gcc/store-motion.c
@@ -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);
}
}
}