GNU ObjC runtime bug.
Ovidiu Predescu
ovidiu@cup.hp.com
Fri May 25 00:17:00 GMT 2001
Thanks, I fixed it both on the 3.0 branch and the main trunk.
Ovidiu
On Wed, 23 May 2001 22:09:52 +0100, Richard Frith-Macdonald <richard@brainstorm.co.uk> wrote:
>
> Looks like there is a minor bug in the GNU ObjC runtime ....
>
> I think that line 322 in init.c is wrong ... it appears to add to the
> hash table using the method implementation as a key when it should surely
> be the method name.
>
> ie.
> hash_add (&__objc_load_methods, mth->method_imp,
> mth->method_imp);
> should be -
> hash_add (&__objc_load_methods, mth->method_name,
> mth->method_imp);
>
More information about the Gcc-bugs
mailing list