summaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-09 16:17:07 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-09 16:17:07 +0000
commit39c2983fe74eeb6f87438b99a0ffc7c976b3a879 (patch)
treec1d7fb168f81ebdaafafc5613beb198b088c6c50 /gcc/tree-chrec.c
parent26aa705947405e6aea26bc506105c30c155fcaa7 (diff)
downloadgcc-39c2983fe74eeb6f87438b99a0ffc7c976b3a879.tar.gz
2004-12-09 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18904 * g++.dg/opt/ptrmem5.C: New test. 2004-12-09 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/18904 * tree-chrec.c (chrec_convert): Use fold_convert instead of convert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91954 138bc75d-0d04-0410-961f-82ee72b054a4
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;