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-inline.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-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 58a1c07..39dde67 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -779,7 +779,7 @@ setup_one_parameter (inline_data *id, tree p, tree value, the argument to the proper type in case it was promoted. */ if (value) { - tree rhs = convert (TREE_TYPE (var), value); + tree rhs = fold_convert (TREE_TYPE (var), value); if (rhs == error_mark_node) return; |