https://gcc.gnu.org/g:36d99b4873e675a5f7d389f5b27239ecdcd6677c
commit r17-5124-g36d99b4873e675a5f7d389f5b27239ecdcd6677c Author: Tobias Burnus <[email protected]> Date: Tue Oct 13 16:50:11 2026 +0200 gomp/declare-variant-5.c: Add xfail for C++ Commit r17-5084-g9759f4fa7d0177 fixed some issues related to the simd trait, which in turn causes this testcase to fail with C++. This commit silents those with dg-bogus + xfail until properly fixed, cf. PR. gcc/testsuite/ChangeLog: PR middle-end/127850 * c-c++-common/gomp/declare-variant-5.c: Add dg-bogus + xfail to silence C++ fails. Diff: --- gcc/testsuite/c-c++-common/gomp/declare-variant-5.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/testsuite/c-c++-common/gomp/declare-variant-5.c b/gcc/testsuite/c-c++-common/gomp/declare-variant-5.c index 6ebf09457c02..29482bcfb49f 100644 --- a/gcc/testsuite/c-c++-common/gomp/declare-variant-5.c +++ b/gcc/testsuite/c-c++-common/gomp/declare-variant-5.c @@ -34,3 +34,10 @@ test (int *x, float *y, float *z, float *w) if (x[i] > 10) x[i] = f5 (x[i], i); } + +// See PR middle-end/127850 for several issues related to handling simdlen clauses in the context selector, +// those below are only the tip of the iceberg: + +// { dg-bogus "cannot convert 'float' to '__v4sf' {aka '__vector\\(4\\) float'}" "" { xfail c++ } 12 } +// { dg-bogus "cannot convert 'float' to '__v8sf' {aka '__vector\\(8\\) float'}" "" { xfail c++ } 13 } +// { dg-bogus "cannot convert 'int' to '__v4si' {aka '__vector\\(4\\) int'}" "" { xfail c++ } 16 }
