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 use slot != NULL instead.
That makes sense too. Jason