Patch for too lenient handling of pointer-to-member conversions
Mark Mitchell
mmitchell@usa.net
Fri Feb 13 10:35:00 GMT 1998
>>>>> "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
More information about the Gcc-bugs
mailing list