tree.def (CEIL_DIV_EXPR, [...]): Tweak comments.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 21 Oct 2015 21:10:49 +0000 (21:10 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 21 Oct 2015 21:10:49 +0000 (21:10 +0000)
commitc26065cc38586f9d014b0f04a54dfa0e52c23189
tree084c76d531cbfb2e9595783f1db615465fd22c4f
parente90bedf52c86a7b4e2e0a1f8a5a1450725cb95b6
tree.def (CEIL_DIV_EXPR, [...]): Tweak comments.

* tree.def (CEIL_DIV_EXPR, FLOOR_DIV_EXPR, ROUND_DIV_EXPR): Tweak
comments.
(TRUNC_MOD_EXPR, CEIL_MOD_EXPR, FLOOR_MOD_EXPR, ROUND_MOD_EXPR):
Add comments on sign of the result.
* fold-const.c (tree_binary_nonnegative_warnv_p) <FLOOR_MOD_EXPR>:
Recurse on operand #1 instead of operand #0.
<CEIL_MOD_EXPR>: Do not recurse.
<ROUND_MOD_EXPR>: Likewise.

From-SVN: r229146
gcc/ChangeLog
gcc/fold-const.c
gcc/tree.def