Re: [C++ Patch] PR 58466

2013-10-31 Thread Paolo Carlini
... for now I'm reverting this commit. The issue is just an ICE on invalid and the fix is causing problems, per c++/58932 - sorry about that. Thanks, Paolo. /// /cp 2013-10-31 Paolo Carlini PR c++/58932 Revert: 2013-10-18 Paolo Carlini

Re: [C++ Patch] PR 58466

2013-10-18 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 58466

2013-10-12 Thread Paolo Carlini
On 10/11/2013 09:31 PM, Paolo Carlini wrote: On 10/11/2013 08:29 PM, Paolo Carlini wrote: Are we maybe failing to bump processing_template_decl somewhere while processing the specialization? ... I'm finishing testing this, already past g++.dg/dg.exp... In the meanwhile testing completed succes

Re: [C++ Patch] PR 58466

2013-10-11 Thread Paolo Carlini
On 10/11/2013 08:29 PM, Paolo Carlini wrote: Are we maybe failing to bump processing_template_decl somewhere while processing the specialization? ... I'm finishing testing this, already past g++.dg/dg.exp... Paolo. Index: cp/pt.c =

Re: [C++ Patch] PR 58466

2013-10-11 Thread Paolo Carlini
Hi, On 10/11/2013 07:46 PM, Jason Merrill wrote: How does a TEMPLATE_PARM_INDEX get this far? It should have been detected as dependent before this. Thanks. Interesting. We get there from the convert_nontype_argument call at line 6453 of pt.c (in convert_template_argument) , which is protected

Re: [C++ Patch] PR 58466

2013-10-11 Thread Jason Merrill
How does a TEMPLATE_PARM_INDEX get this far? It should have been detected as dependent before this. Jason