From: Nathan Sidwell Date: Fri, 5 May 2017 23:24:41 +0000 (+0000) Subject: store-motion.c (remove_reachable_equiv_notes): Reformat long lines. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cf5c9dabff2f00d615ecf0464662d772113d0ec;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a2f57ac4f09..dfce7ee227a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-05-05 Nathan Sidwell + + * store-motion.c (remove_reachable_equiv_notes): Reformat long + lines. Use for (;;). + 2017-05-05 Bill Schmidt * config/rs6000/rs6000.c (rs6000_vect_nonmem): New static var. diff --git a/gcc/store-motion.c b/gcc/store-motion.c index 927de1b1a91..ec2169a61d1 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); } } }