OSDN Git Service

2007-08-04 Andrew Pinski <andrew_pinski@playstation.sony.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Aug 2007 05:21:30 +0000 (05:21 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Aug 2007 05:21:30 +0000 (05:21 +0000)
commitf6b25e1c30aa1500028eb3b716469fa428ee094b
treedd143a45c0ea4ee40bb1d05ffa346fe1e2ebb11f
parente1a0c21252a7cbb7db83de7f6ed56871dbd09e85
2007-08-04  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32780
        * fold-const.c (fold_binary <case MINUS_EXPR>): Fix the type of operands
        for the folding of "A - (A & B)" into "~B & A"; cast them to type.

2007-08-04  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/32780
        * gcc.c-torture/compile/pr32780.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127199 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr32780.c [new file with mode: 0644]