aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index a9b048e..32d7fbe 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -885,8 +885,8 @@ filter_suitable_components (struct loop *loop, struct component *comps)
static int
order_drefs (const void *a, const void *b)
{
- const dref *da = a;
- const dref *db = b;
+ const dref *const da = (const dref *) a;
+ const dref *const db = (const dref *) b;
int offcmp = double_int_scmp ((*da)->offset, (*db)->offset);
if (offcmp != 0)
@@ -1843,7 +1843,7 @@ struct epcc_data
static void
execute_pred_commoning_cbck (struct loop *loop, void *data)
{
- struct epcc_data *dta = data;
+ struct epcc_data *const dta = (struct epcc_data *) data;
/* Restore phi nodes that were replaced by ssa names before
tree_transform_and_unroll_loop (see detailed description in