diff --git a/gcc/testsuite/c-c++-common/torture/pr124086-1.c b/gcc/testsuite/c-c++-common/torture/pr124086-1.c index 6bca0431e4c..b52d8e03f46 100644 --- a/gcc/testsuite/c-c++-common/torture/pr124086-1.c +++ b/gcc/testsuite/c-c++-common/torture/pr124086-1.c @@ -2,6 +2,8 @@ /* { dg-options "" } */ /* PR tree-optimization/124086 */ +/* Disable for non power of 2 long double as a vector of that is not supported. */ +#if (__SIZEOF_LONG_DOUBLE__ & -__SIZEOF_LONG_DOUBLE__) == __SIZEOF_LONG_DOUBLE__ typedef __attribute__((__vector_size__(2*sizeof(long double)))) int V; int j; @@ -13,3 +15,5 @@ foo() _Complex long double t = *(_Complex long double *)&v; j = __real__ t; } + +#endif