Re: C++ PATCH for c++/58170 (ICE with alias template)

2014-03-03 Thread Jakub Jelinek
On Sat, Feb 22, 2014 at 12:48:40AM -0500, Jason Merrill wrote: > There's no reason why we wouldn't check for dependent scopes when > parsing the target of an alias declaration, and indeed not doing so > led to the ICE here. > > The rest of the patch improves the diagnostic for this testcase (and >

C++ PATCH for c++/58170 (ICE with alias template)

2014-02-21 Thread Jason Merrill
There's no reason why we wouldn't check for dependent scopes when parsing the target of an alias declaration, and indeed not doing so led to the ICE here. The rest of the patch improves the diagnostic for this testcase (and some others). Tested x86_64-pc-linux-gnu, applying to trunk. Also a