> On 05/29/2011 06:14 PM, Richard Guenther wrote: >>> > >>> > -/* Returns a hash code for P. */ >>> > +/* Returns a hash code for P. >>> > + Shamelessly*/ >> ... stolen from libiberty. >> >> ? >> >> Ok with that comment adjusted. > > Why steal it :) if you can instead add the code to libiberty?
Well, it is 3 lines of code so it seemed easier to steal it ;) You won't be able to use it directly anyway since you need wrapping structure around the string since libiberty hashtable won't let you store strings and sizes directly into it. Honza