summaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-chrec.c')
-rw-r--r--gcc/tree-chrec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c
index be0d80a73fd..54960449217 100644
--- a/gcc/tree-chrec.c
+++ b/gcc/tree-chrec.c
@@ -983,7 +983,7 @@ chrec_convert (tree type,
default:
{
- tree res = convert (type, chrec);
+ tree res = fold_convert (type, chrec);
/* Don't propagate overflows. */
TREE_OVERFLOW (res) = 0;