Re: C++ PATCH for c++/57317 (wrong visibility with template args)

2013-05-20 Thread Jakub Jelinek
On Mon, May 20, 2013 at 08:27:44AM -0400, Jason Merrill wrote: > The way I was testing for whether or not we need to look at template > args for a particular decl was broken; DECL_TI_ARGS may not reflect > the number of template headers for the enclosing class if that class > is an explicit special

C++ PATCH for c++/57317 (wrong visibility with template args)

2013-05-20 Thread Jason Merrill
The way I was testing for whether or not we need to look at template args for a particular decl was broken; DECL_TI_ARGS may not reflect the number of template headers for the enclosing class if that class is an explicit specialization. Tested x86_64-pc-linux-gnu, applying to trunk. Jakub: it