tree-ssa-dom.c (find_equivalent_equality_comparison): Do not a eliminate type convers...
authorJeff Law <law@redhat.com>
Sat, 2 Jul 2005 14:15:11 +0000 (08:15 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 2 Jul 2005 14:15:11 +0000 (08:15 -0600)
commit2d0dab7f2bb2acbc9a9fffc7278be44c9a1dcd43
treebc249b4ee590ce8d295fe4bb0175dcaab1069eb6
parentc85ce869e757158c55fd428befdb59ad5d537c1f
tree-ssa-dom.c (find_equivalent_equality_comparison): Do not a eliminate type conversion which feeds an equality comparison if...

        * tree-ssa-dom.c (find_equivalent_equality_comparison): Do not
        a eliminate type conversion which feeds an equality comparison
        if the original type or either operand in the comparison is a
        function pointer.

* gcc.dg/tree-ssa/pr22051-1.c: New test.
* gcc.dg/tree-ssa/pr22051-2.c: New test.

From-SVN: r101534
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr22051-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr22051-2.c [new file with mode: 0644]
gcc/tree-ssa-dom.c