On Sun, 17 Apr 2011 02:55:33 +0200 (CEST)
"Nicola Pero" <nicola.p...@meta-innovation.com> wrote:

> While reading GCC code, I noticed that in gengtype-state.c
> the equality function in a string hashtable is set to strcmp.
> 
> But that returns 0 (ie, false for hashtable.c) when the strings
> are equal!  I can't see how that hashtable would ever work.  Do
> we have any tests for gengtype-state ?  Am I missing something ? :-)
> 
> Else, Ok to commit the following patch ?

I am not authorized to Ok it, but I hope it will be oked.

Thanks for finding that bug.

Cheers

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***

Reply via email to