re PR middle-end/30433 (no longer folding __complex__(0.0, 1.0) == __complex__(1...
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Fri, 16 Feb 2007 01:27:42 +0000 (01:27 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 16 Feb 2007 01:27:42 +0000 (17:27 -0800)
commit3c32c87f609a47e126044ce2d3f29701fa2c4dcc
tree7b02a8f486f877aa1281bc0e4df1b4251217bc42
parent76b9a2a1cd4c0777039da22ae087268ab282c123
re PR middle-end/30433 (no longer folding __complex__(0.0, 1.0) == __complex__(1.0, 0.0))

2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/30433
        * fold-const.c (fold_comparison): Add back the
        folding of constant complex comparisions.
2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/30433
        * gcc.c-torture/compile/pr30433.c: New testcase to check
        that complex constants comparisions are foldded.

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