diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-06-09 15:07:03 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-06-09 08:07:03 -0700 |
commit | e072ae27e0898a7244b08d003a43b4cecf146df0 (patch) | |
tree | 39bf59660f207147c6aa8a1497841a89c11c574a /gcc/tree-ssa-ccp.c | |
parent | 655948a348f819803aeda65b0ae445ba86712a64 (diff) | |
download | gcc-e072ae27e0898a7244b08d003a43b4cecf146df0.zip gcc-e072ae27e0898a7244b08d003a43b4cecf146df0.tar.gz gcc-e072ae27e0898a7244b08d003a43b4cecf146df0.tar.bz2 |
tree-complex.c (expand_complex_comparison): Use fold_convert instead of convert.
2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>
* tree-complex.c (expand_complex_comparison): Use fold_convert instead
of convert.
* tree-inline.c (setup_one_parameter): Likewise.
* tree-sra.c (csc_build_component_ref): Likewise.
* tree-ssa-ccp.c (ccp_fold): Likewise.
* tree-ssa-copy.c (cprop_operand): Likewise.
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
* tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
From-SVN: r82837
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r-- | gcc/tree-ssa-ccp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 6127acb..ab7de37 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -953,7 +953,7 @@ ccp_fold (tree stmt) if (retval) { if (TREE_TYPE (retval) != TREE_TYPE (rhs)) - retval = convert (TREE_TYPE (rhs), retval); + retval = fold_convert (TREE_TYPE (rhs), retval); if (TREE_TYPE (retval) == TREE_TYPE (rhs)) return retval; |