From b79861dc95ab7e737f11f84e0e1250c76e16fcab Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 3 Apr 2018 14:21:12 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/powerpc/pr82015.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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" } */ } -- 2.30.2