summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-12 20:07:09 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-12 20:07:09 +0000
commit3c802a1ee3b6d6927e326e8dd7456f010890fd9b (patch)
tree21eb9d2f9d7caf8b2acedb119c2bc797c1c3644e /gcc/cse.c
parentf1e45f6838ad5e1d7650b83c5e9b1aca445f58f0 (diff)
downloadgcc-3c802a1ee3b6d6927e326e8dd7456f010890fd9b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176216 138bc75d-0d04-0410-961f-82ee72b054a4
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 a078329ac55..54edf7ee942 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;