aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index a945769..3a78a65 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -285,7 +285,7 @@ int_expr_size (tree exp)
if (size == 0 || !tree_fits_shwi_p (size))
return -1;
- return tree_low_cst (size, 0);
+ return tree_to_shwi (size);
}
/* Return a copy of X in which all memory references