From 5cf5c9dabff2f00d615ecf0464662d772113d0ec Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 5 May 2017 23:24:41 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/store-motion.c | 13 +++++++++---- 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 + + * 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 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); } } } -- 2.7.4