[multiple changes]
commit12fda46d3bcf919c1ee2c423c1ddee6b14d0d94a
authorAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 23 Dec 2008 16:21:32 +0000 (23 08:21 -0800)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 23 Dec 2008 16:21:32 +0000 (23 08:21 -0800)
tree919a9fe2e9f195264bf7c794d82fbfc334d65c11
parentf05d0fc14890e21fda270b46d6344cac934f409d
[multiple changes]

2008-12-23  Andrew Pinski  <pinski@gmail.com>

        PR middle-end/38590
        * fold-const.c (fold_binary): Call fold_convert on arguments to
        fold_build2 for negative divide optimization.

2008-12-23  Andrew Pinski  <pinskia@gmail.com>

        PR middle-end/38590
        * gcc.c-torture/compile/pr38590-1.c: New testcase.
        * gcc.c-torture/compile/pr38590-2.c: New testcase.

From-SVN: r142906
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr38590-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr38590-2.c [new file with mode: 0644]