This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Apr 13, 2011 at 3:46 PM, Jason Merrill <jason@redhat.com> 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
Attachment:
range-for.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |