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-copy.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-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index e544992..6881161 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -180,7 +180,7 @@ cprop_operand (stmt_ann_t ann, tree *op_p, varray_type const_and_copies) if (!lang_hooks.types_compatible_p (op_type, val_type) && TREE_CODE (val) != SSA_NAME) { - val = convert (TREE_TYPE (*op_p), val); + val = fold_convert (TREE_TYPE (*op_p), val); if (!is_gimple_min_invariant (val) && TREE_CODE (val) != SSA_NAME) return false; |