expmed.c (expand_divmod): Cast constant to unsigned HOST_WIDE_INT before negating.
authorIan Lance Taylor <iant@google.com>
Sat, 20 Jan 2007 02:04:31 +0000 (02:04 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 20 Jan 2007 02:04:31 +0000 (02:04 +0000)
commite4c9f3c21dd0075a6b1f0deb1241b7cb4b9cf944
tree6671e8dda9ef65f73642aeb937c81c8691ab78a2
parentb2bcf5577ae6c5bfd2b8f1dc78cba2b0c2607741
expmed.c (expand_divmod): Cast constant to unsigned HOST_WIDE_INT before negating.

* expmed.c (expand_divmod) [TRUNC_MOD_EXPR, TRUNC_DIV_EXPR]: Cast
constant to unsigned HOST_WIDE_INT before negating.

From-SVN: r120995
gcc/ChangeLog
gcc/expmed.c