diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-03-09 12:06:23 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-03-09 12:06:23 +0000 |
commit | 1803581d7698029091783f8c9ac6220aa52ccec5 (patch) | |
tree | dd8a6c24ca4b2cd5bec8db756c897406137899dc /gcc/fold-const.c | |
parent | b958b842c03d676b7ebbf2d3511005db401bba4a (diff) | |
download | gcc-1803581d7698029091783f8c9ac6220aa52ccec5.zip gcc-1803581d7698029091783f8c9ac6220aa52ccec5.tar.gz gcc-1803581d7698029091783f8c9ac6220aa52ccec5.tar.bz2 |
* fold-const.c (fold_unary): Fix comment.
From-SVN: r144723
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index da4d50d..97331f3 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -8174,12 +8174,12 @@ fold_unary (enum tree_code code, tree type, tree op0) && inter_prec >= final_prec) return fold_build1 (code, type, TREE_OPERAND (op0, 0)); - /* Likewise, if the intermediate and final types are either both - float or both integer, we don't need the middle conversion if - it is wider than the final type and doesn't change the signedness - (for integers). Avoid this if the final type is a pointer - since then we sometimes need the inner conversion. Likewise if - the outer has a precision not equal to the size of its mode. */ + /* Likewise, if the intermediate and initial types are either both + float or both integer, we don't need the middle conversion if the + former is wider than the latter and doesn't change the signedness + (for integers). Avoid this if the final type is a pointer since + then we sometimes need the middle conversion. Likewise if the + final type has a precision not equal to the size of its mode. */ if (((inter_int && inside_int) || (inter_float && inside_float) || (inter_vec && inside_vec)) |