aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 5857f1a..f065370 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -4610,7 +4610,7 @@ ipcp_transform_function (struct cgraph_node *node)
break;
if (!v
|| v->by_ref != by_ref
- || tree_low_cst (TYPE_SIZE (TREE_TYPE (v->value)), 0) != size)
+ || tree_to_shwi (TYPE_SIZE (TREE_TYPE (v->value))) != size)
continue;
gcc_checking_assert (is_gimple_ip_invariant (v->value));