diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-07-12 20:07:09 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-07-12 20:07:09 +0000 |
commit | e84a58ffbeb5c18a01e7a8daf9289618cb907f21 (patch) | |
tree | 21eb9d2f9d7caf8b2acedb119c2bc797c1c3644e /gcc/sched-rgn.c | |
parent | 3a4ffde68cfc6fee3c20d282d6690f2569e2fffa (diff) | |
download | gcc-e84a58ffbeb5c18a01e7a8daf9289618cb907f21.zip gcc-e84a58ffbeb5c18a01e7a8daf9289618cb907f21.tar.gz gcc-e84a58ffbeb5c18a01e7a8daf9289618cb907f21.tar.bz2 |
cse.c (insert_with_costs): Put semi-colon after empty loop body on the next line.
* cse.c (insert_with_costs): Put semi-colon after empty loop body
on the next line.
* emit-rtl.c (push_to_sequence): Likewise.
* haifa-sched.c (max_issue): Likewise.
* matrix-reorg.c (add_allocation_site): Likewise.
* postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
* reload.c (alternative_allows_const_pool_ref): Likewise.
* sched-rgn.c (rgn_add_block): Likewise.
(rgn_fix_recovery_cfg): Likewise.
* tree.c (attribute_list_contained): Likewise.
c-family/
* c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
body on the next line.
From-SVN: r176216
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index e510980..aa9c81d 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -3396,7 +3396,8 @@ rgn_add_block (basic_block bb, basic_block after) /* Now POS is the index of the last block in the region. */ /* Find index of basic block AFTER. */ - for (; rgn_bb_table[pos] != after->index; pos--); + for (; rgn_bb_table[pos] != after->index; pos--) + ; pos++; gcc_assert (pos > ebb_head[i - 1]); @@ -3443,12 +3444,14 @@ rgn_fix_recovery_cfg (int bbi, int check_bbi, int check_bb_nexti) for (old_pos = ebb_head[BLOCK_TO_BB (check_bbi) + 1] - 1; rgn_bb_table[old_pos] != check_bb_nexti; - old_pos--); + old_pos--) + ; gcc_assert (old_pos > ebb_head[BLOCK_TO_BB (check_bbi)]); for (new_pos = ebb_head[BLOCK_TO_BB (bbi) + 1] - 1; rgn_bb_table[new_pos] != bbi; - new_pos--); + new_pos--) + ; new_pos++; gcc_assert (new_pos > ebb_head[BLOCK_TO_BB (bbi)]); |