This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for too lenient handling of pointer-to-member conversions
- To: Klaus-Georg Adams <Klaus-Georg dot Adams at chemie dot uni-karlsruhe dot de>
- Subject: Re: Patch for too lenient handling of pointer-to-member conversions
- From: Mark Mitchell <mmitchell at usa dot net>
- Date: Fri, 13 Feb 1998 10:38:32 GMT
- Cc: egcs-bugs at cygnus dot com
- References: <199802131300.OAA30837@achibm5.chemie.uni-karlsruhe.de>
- Reply-To: mmitchell at usa dot net
>>>>> "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