re PR tree-optimization/32100 (vrp bitfield miscompilation)
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Mon, 28 May 2007 19:43:10 +0000 (19:43 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 28 May 2007 19:43:10 +0000 (12:43 -0700)
commit3613c7abfa4392fd47d5078eb2261ad763772d2e
tree115b6795f44871b452f47fbbb8f7221a4041f1d5
parent3366c30b7fc1404833d54aaeb54de57ca7a16e16
re PR tree-optimization/32100 (vrp bitfield miscompilation)

2007-05-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/32100
        * fold-const.c (tree_expr_nonnegative_warnv_p): Don't
        return true when truth_value_p is true and the type
        is of signed:1.

2007-05-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/32100
         * gcc.c-torture/execute/vrp-7.c: New test.

From-SVN: r125139
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/vrp-7.c [new file with mode: 0644]