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]

Re: [C++ Patch] PR 58503


Hi,

On 10/04/2013 03:41 AM, Jason Merrill wrote:
Well, the permerror is saying that with -fpermissive we'll do the lookup again at instantiation time, so a testcase that declares begin/end between the template and the instantiation ought to work?
Ah, now I see! The best approximation we have of a positive test in this context.

Thus the below, lightly tested so far but the tests both pass and the patch itself isn't so different, besides type_dependent_expression_p.

Thanks!
Paolo.

////////////////////////

Attachment: CL_58503_2
Description: Text document

Attachment: patch_58503_2
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]