Hi! The testcase without this FAILs on i686-linux, where we warn about returning of a generic vector changing the ABI:
Excess errors: .../gcc/gcc/testsuite/g++.dg/ext/builtin-shufflevector-1.C:6:15: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] .../gcc/gcc/testsuite/g++.dg/ext/builtin-shufflevector-1.C:17:54: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi] Fixed thusly, tested on x86_64-linux (-m32,-m32/-mno-sse,-m64), committed to trunk as obvious. 2021-06-02 Jakub Jelinek <ja...@redhat.com> * g++.dg/ext/builtin-shufflevector-1.C: Add -Wno-psabi -w to dg-options. --- gcc/testsuite/g++.dg/ext/builtin-shufflevector-1.C.jj 2021-05-31 10:11:15.180978453 +0200 +++ gcc/testsuite/g++.dg/ext/builtin-shufflevector-1.C 2021-06-02 10:06:46.281696855 +0200 @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-options "-Wno-psabi -w" } template <typename T1, typename T2, int ...args> struct shufflevector Jakub