Re: [PATCH] Fix htab lookup bug in reregister_specialization (issue5190046, take 2)

2011-10-08 Thread Jason Merrill
On 10/07/2011 12:14 PM, Jakub Jelinek wrote: Here is a modified patch then, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Would just the reregister_specialization change be ok for 4.6 too? Yes and yes. Jason

[PATCH] Fix htab lookup bug in reregister_specialization (issue5190046, take 2)

2011-10-07 Thread Jakub Jelinek
On Wed, Oct 05, 2011 at 09:44:34PM -0400, Jason Merrill wrote: > On 10/05/2011 05:15 PM, Jakub Jelinek wrote: > >If optimize_specialization_lookup_p (tmpl) doesn't change return value in > >between the two calls, then you are right. But perhaps in that case > >you could avoid the second call and u