http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48657
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-18 13:47:57 UTC --- VectorDimension's DECL_INITIAL has different type (int rather than unsigned int), and when build_integral_nontype_arg_conv calls convert_like for ck_identity conversion that DECL_INITIAL is returned, which doesn't have correct type and thus caller complains.