ICE with nontype template parameter

2010-03-10 Thread Roger Ferrer Ibáñez
Hi, this code --- template typename _T struct A { template int _N, int _M struct B; template int _N struct B_N, _T::m { static void f(); }; }; struct C { static const int m = 4; }; void m() { AC::B1, 4::f(); } -- causes the following ICE

Re: ICE with nontype template parameter

2010-03-10 Thread Dodji Seketeli
On Wed, Mar 10, 2010 at 07:04:20PM +0100, Roger Ferrer Ibáñez wrote: Is this a known bug or I should fill a PR? I see that you have just filed a PR for this at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43327 Thanks. Dodji