Commit 1803581d by Eric Botcazou Committed by Eric Botcazou

* fold-const.c (fold_unary): Fix comment.

From-SVN: r144723
parent b958b842
2009-03-09 Eric Botcazou <ebotcazou@adacore.com>
* fold-const.c (fold_unary): Fix comment.
2009-03-07 Jan Hubicka <jh@suse.cz> 2009-03-07 Jan Hubicka <jh@suse.cz>
PR target/39361 PR target/39361
......
...@@ -8174,12 +8174,12 @@ fold_unary (enum tree_code code, tree type, tree op0) ...@@ -8174,12 +8174,12 @@ fold_unary (enum tree_code code, tree type, tree op0)
&& inter_prec >= final_prec) && inter_prec >= final_prec)
return fold_build1 (code, type, TREE_OPERAND (op0, 0)); return fold_build1 (code, type, TREE_OPERAND (op0, 0));
/* Likewise, if the intermediate and final types are either both /* Likewise, if the intermediate and initial types are either both
float or both integer, we don't need the middle conversion if float or both integer, we don't need the middle conversion if the
it is wider than the final type and doesn't change the signedness former is wider than the latter and doesn't change the signedness
(for integers). Avoid this if the final type is a pointer (for integers). Avoid this if the final type is a pointer since
since then we sometimes need the inner conversion. Likewise if then we sometimes need the middle conversion. Likewise if the
the outer has a precision not equal to the size of its mode. */ final type has a precision not equal to the size of its mode. */
if (((inter_int && inside_int) if (((inter_int && inside_int)
|| (inter_float && inside_float) || (inter_float && inside_float)
|| (inter_vec && inside_vec)) || (inter_vec && inside_vec))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment