Commit b79861dc by Segher Boessenkool Committed by Segher Boessenkool

rs6000: Fix testcase pr82015.c

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
parent 7f89f8e5
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
......
......@@ -3,12 +3,12 @@
/* { 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" } */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment