This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c++/8171: Comparing pointer-to-member-functions of derived classes
On Nov 30, 2007 12:49 PM, Mark Mitchell <mark@codesourcery.com> wrote:
>
> Ollie, why did you use
>
> + if (TREE_TYPE (op0) != type)
>
> rather than:
>
> if (!same_type_p (TREE_TYPE (op0)), type)
Only because I was duplicating the usage which occurs later in the
same function. I'll switch to same_type_p and submit once I've
retested.
Ollie