re PR tree-optimization/35429 (ICE with complex arithmetic)
authorAndrew Pinski <pinskia@gmail.com>
Thu, 27 Mar 2008 08:55:50 +0000 (01:55 -0700)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 27 Mar 2008 08:55:50 +0000 (01:55 -0700)
commit87a72aa8f9a533b3d885b04be81b1c81d526f542
tree9264662130bd84c064fb1f5eed83b4af113be464
parent40e43495ce35c06ac8379cc062673ac742dea592
re PR tree-optimization/35429 (ICE with complex arithmetic)

2008-03-27  Andrew Pinski  <pinskia@gmail.com>

        PR middle-end/35429
        * fold-const.c (fold_truthop): Check for integeral types when folding
        a == 0 && b == 0 and a != 0 || b != 0 .

2008-03-27  Andrew Pinski  <pinskia@gmail.com>

        PR middle-end/35429
        * gcc.c-torture/compile/complex-5.c: New test.

From-SVN: r133631
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/complex-5.c [new file with mode: 0644]