On Wed, Apr 13, 2011 at 3:46 PM, Jason Merrill wrote: > On 04/11/2011 04:50 PM, Rodrigo Rivas wrote: >> >> Because the type of the expression must have complete type *only* if >> it is an array. > > Actually, if it has class type, it must also have a complete type or the > class member lookup is ill-formed. Oh, right. It used to be allowed, but not anymore. I've moved the incompleteness check to the top of the function. > Except this should be ? LOOKUP_NORMAL|LOOKUP_NORVIRTUAL : LOOKUP_NORMAL. >  The other calls to build_new_method_call here should be fixed that way, > too. Ok. I've corrected my call and the one I copied from. The changelog is the same as the last one. Regards. -- Rodrigo