This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch for too lenient handling of pointer-to-member conversions



>>>>> "Klaus-Georg" == Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> writes:

    Klaus-Georg> Hi Mark,

    Klaus-Georg> Does your patch Wed Feb 11 15:54:18 1998 Mark
    Klaus-Georg> Mitchell

    Klaus-Georg>         * typeck.c (build_ptrmemfunc): Typecheck
    Klaus-Georg> pointer-to-member conversions.

    Klaus-Georg> flag cases like the following:

No, it does not.  The version of the patch that was checked in used
the function comp_target_types, which seems to get this case wrong.  I
will investigate further, and attempt a fix at some point.

Thanks for the test case.

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]