From: Segher Boessenkool Date: Tue, 3 Apr 2018 12:21:12 +0000 (+0200) Subject: rs6000: Fix testcase pr82015.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b79861dc95ab7e737f11f84e0e1250c76e16fcab;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b3e23a9120..e344f01ad78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-04-03 Segher Boessenkool + + * gcc.target/powerpc/pr82015.c: Use __vector instead of vector. + 2018-04-03 Richard Biener PR testsuite/85154 diff --git a/gcc/testsuite/gcc.target/powerpc/pr82015.c b/gcc/testsuite/gcc.target/powerpc/pr82015.c index c8b53b8a01d..ec939e96bb8 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr82015.c +++ b/gcc/testsuite/gcc.target/powerpc/pr82015.c @@ -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" } */ }