http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53786
Hristo Venev <mustrumr97 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.7.1 |4.9.0 Summary|[C++11] alias template |[C++11] alias template - |causes g++ segfault |error on valid code --- Comment #5 from Hristo Venev <mustrumr97 at gmail dot com> 2013-04-04 09:51:45 UTC --- Now the compiler gives an error on the same code fail.cpp: In substitution of ‘template<class T, class ... Ts> using Tail = List<Ts ...> [with T = Ts ...; Ts = {Ts ...}]’: fail.cpp:6:23: required from here fail.cpp:4:23: error: template argument 1 is invalid using Tail=List<Ts...>; ^ fail.cpp:7:9: error: expected type-specifier before ‘Tail2’ using A=Tail2<int, char, char>;