aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 68650f0..daa667c 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -341,8 +341,8 @@ ao_ref_from_mem (ao_ref *ref, const_rtx mem)
&& (ref->offset < 0
|| (DECL_P (ref->base)
&& (!tree_fits_uhwi_p (DECL_SIZE (ref->base))
- || (TREE_INT_CST_LOW (DECL_SIZE ((ref->base)))
- < (unsigned HOST_WIDE_INT)(ref->offset + ref->size))))))
+ || (tree_to_uhwi (DECL_SIZE (ref->base))
+ < (unsigned HOST_WIDE_INT) (ref->offset + ref->size))))))
return false;
return true;