aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-07-12 20:07:09 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-07-12 20:07:09 +0000
commite84a58ffbeb5c18a01e7a8daf9289618cb907f21 (patch)
tree21eb9d2f9d7caf8b2acedb119c2bc797c1c3644e /gcc/cse.c
parent3a4ffde68cfc6fee3c20d282d6690f2569e2fffa (diff)
downloadgcc-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/cse.c')
-rw-r--r--gcc/cse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index a078329..54edf7e 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -1637,8 +1637,10 @@ insert_with_costs (rtx x, struct table_elt *classp, unsigned int hash,
/* Put it after the last element cheaper than X. */
struct table_elt *p, *next;
- for (p = classp; (next = p->next_same_value) && CHEAPER (next, elt);
- p = next);
+ for (p = classp;
+ (next = p->next_same_value) && CHEAPER (next, elt);
+ p = next)
+ ;
/* Put it after P and before NEXT. */
elt->next_same_value = next;