https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #11) > (In reply to Richard Biener from comment #10) > > Going to use the following for g++.dg/vect/ > > > > /* { dg-do compile } */ > > /* { dg-additional-options "-O3" } */ > > /* { dg-additional-options "-march=armv8.2-a+sve" { target aarch64-*-* } } > > */ > > Add: > // { dg-require-effective-target c++11 } or change auto to std::vector<RVec1>. either one "works".