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: GNU ObjC runtime bug.


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);
> 


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