https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69116
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is trying to instantiate one of the std::end with valarray<x> Like: template<class _Tp> inline const _Tp* end(const valarray<_Tp>& __va) { return std::__addressof(__va[0]) + __va.size(); } This does not look right.