https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118377
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Soumya AR from comment #2) > Related: Using the C division operator with svfloat ICEs with g++ but not > gcc. > > Testcase: > > #include <arm_sve.h> > > svfloat16_t foo(svfloat16_t x) { return x / 4; } There might be a few other places that might need to support vec_duplicate too. E.g. templates. Those shouldn't be too hard to fix either.