This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37016] [4.3/4.4 Regression] member function pointer failure with optimization
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2008 22:23:24 -0000
- Subject: [Bug c++/37016] [4.3/4.4 Regression] member function pointer failure with optimization
- References: <bug-37016-16558@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from jason at gcc dot gnu dot org 2008-08-05 22:23 -------
Subject: Bug 37016
Author: jason
Date: Tue Aug 5 22:22:00 2008
New Revision: 138740
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138740
Log:
PR c++/37016
* tree-ssa.c (useless_type_conversion_p_1): Call langhook
if TYPE_STRUCTURAL_EQUALITY_P is true for both types.
Added:
trunk/gcc/testsuite/g++.dg/opt/pmf1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37016