https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103747
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- CWG DR 1430 does look similar to this issue really: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1430 template type alias is a mess.