Commit 5cf5c9da by Nathan Sidwell Committed by Nathan Sidwell

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
parent 9945596c
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> 2017-05-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_vect_nonmem): New static var. * config/rs6000/rs6000.c (rs6000_vect_nonmem): New static var.
......
...@@ -836,8 +836,10 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr) ...@@ -836,8 +836,10 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr)
bitmap_clear (visited); bitmap_clear (visited);
act = (EDGE_COUNT (ei_container (ei)) > 0 ? EDGE_I (ei_container (ei), 0) : NULL); act = (EDGE_COUNT (ei_container (ei))
while (1) ? EDGE_I (ei_container (ei), 0)
: NULL);
for (;;)
{ {
if (!act) if (!act)
{ {
...@@ -879,7 +881,8 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr) ...@@ -879,7 +881,8 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr)
continue; continue;
if (dump_file) 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)); INSN_UID (insn));
remove_note (insn, note); remove_note (insn, note);
} }
...@@ -893,7 +896,9 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr) ...@@ -893,7 +896,9 @@ remove_reachable_equiv_notes (basic_block bb, struct st_expr *smexpr)
if (act) if (act)
stack[sp++] = ei; stack[sp++] = ei;
ei = ei_start (bb->succs); 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);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment