------- Comment #9 from pinskia at gcc dot gnu dot org  2007-08-04 05:21 -------
Subject: Bug 32780

Author: pinskia
Date: Sat Aug  4 05:21:30 2007
New Revision: 127199

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127199
Log:

2007-08-04  Andrew Pinski  <[EMAIL PROTECTED]>

        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  <[EMAIL PROTECTED]>

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


Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr32780.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32780

Reply via email to