re PR middle-end/66984 (ICE: fold_binary changes type of operand, causing failure...
authorGary Funck <gary@intrepid.com>
Fri, 24 Jul 2015 16:10:39 +0000 (16:10 +0000)
committerGary Funck <gfunck@gcc.gnu.org>
Fri, 24 Jul 2015 16:10:39 +0000 (16:10 +0000)
commit64447a2d5091ba15fbb1d7ce403533217e97163e
treeb5d29ca1fc2d8d2205e2a2b11d67cfd1619e5c4a
parenta5a57bf378674be59968b4929f9647a72a3181c8
re PR middle-end/66984 (ICE: fold_binary changes type of operand, causing failure in verify_gimple_assign_binary)

2015-07-24  Gary Funck  <gary@intrepid.com>

PR middle-end/66984
* fold-const.c (fold_binary_loc): Call fold_convert on arguments to
        fold_build2 for CEIL_DIV_EXPR and FLOOR_DIV_EXPR optimization.

From-SVN: r226168
gcc/ChangeLog
gcc/fold-const.c