This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GNU ObjC runtime bug.
- To: Richard Frith-Macdonald <richard at brainstorm dot co dot uk>
- Subject: Re: GNU ObjC runtime bug.
- From: Ovidiu Predescu <ovidiu at cup dot hp dot com>
- Date: Fri, 25 May 2001 00:17:04 -0700
- Cc: shebs at apple dot com, gcc-bugs at gcc dot gnu dot org
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);
>