re PR c++/37016 (member function pointer failure with optimization)
authorJason Merrill <jason@redhat.com>
Tue, 5 Aug 2008 22:22:00 +0000 (18:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 5 Aug 2008 22:22:00 +0000 (18:22 -0400)
commit8bd206211ddadcfb501aeed34d137ffd5baee59a
tree71ca7eb04a3cd8b370ea8d9edf3dc041fb540baf
parent8a24bf0486b5a23c2772b29ee38e6a8372eaeac1
re PR c++/37016 (member function pointer failure with optimization)

        PR c++/37016
        * tree-ssa.c (useless_type_conversion_p_1): Call langhook
        if TYPE_STRUCTURAL_EQUALITY_P is true for both types.

From-SVN: r138740
gcc/ChangeLog
gcc/testsuite/g++.dg/opt/pmf1.C [new file with mode: 0644]
gcc/tree-ssa.c