------- Comment #4 from dodji at gcc dot gnu dot org 2009-12-08 14:44 ------- A shorter reproducer is:
struct foo { static const bool b = false; }; template<bool x> struct S1 { }; template<bool x> struct S2 : S1<foo::b> { }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42251