Re: [PATCH] PR c++/51191 - ICE on alias of alias template instantiation

2011-11-18 Thread Jason Merrill
On 11/17/2011 06:32 PM, Dodji Seketeli wrote: I am bootstrapping and testing the (IMHO better) patch below on x86_64-unknown-linux-gnu against trunk. OK. Jason

Re: [PATCH] PR c++/51191 - ICE on alias of alias template instantiation

2011-11-17 Thread Dodji Seketeli
I think I was a bit too hasty on this subject. I am bootstrapping and testing the (IMHO better) patch below on x86_64-unknown-linux-gnu against trunk. Sorry for the noise. From: Dodji Seketeli Date: Thu, 17 Nov 2011 19:07:58 +0100 Subject: [PATCH] PR c++/51191 - ICE on alias of alias template

[PATCH] PR c++/51191 - ICE on alias of alias template instantiation

2011-11-17 Thread Dodji Seketeli
Hello, In the example of the patch below, we crash when trying to print the alias of alias template instantiation 'Alias'. This is because alias_template_specialization_p carelessly looks at CLASSTYPE_TEMPLATE_INFO first, while TYPE_TEMPLATE_INFO is NULL in this case. Fixed thus, bootstrapped an