It used "vector" but that is not defined. Let's use __vector instead.
gcc/testsuite/
* gcc.target/powerpc/pr82015.c: Use __vector instead of vector.
From-SVN: r259027
+2018-04-03 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * gcc.target/powerpc/pr82015.c: Use __vector instead of vector.
+
2018-04-03 Richard Biener <rguenther@suse.de>
PR testsuite/85154
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O2 -mvsx" } */
-unsigned long foo_11(vector __int128_t *p)
+unsigned long foo_11(__vector __int128_t *p)
{
return __builtin_unpack_vector_int128(*p, 11); /* { dg-error "argument 2 must be a 1-bit unsigned literal" } */
}
-unsigned long foo_n(vector __int128_t *p, unsigned long n)
+unsigned long foo_n(__vector __int128_t *p, unsigned long n)
{
return __builtin_unpack_vector_int128(*p, n); /* { dg-error "argument 2 must be a 1-bit unsigned literal" } */
}