From 6da714c6780f023ee7efa892fba68be404e549f4 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 30 Aug 2017 18:09:51 +0000 Subject: [PATCH] re PR target/82015 (PowerPC should check if 2nd argument to __builtin_unpackv1ti and similar functions is 0 or 1) 2017-08-30 Michael Meissner PR target/82015 * gcc.target/powerpc/pr82015.c: Fix up error message. From-SVN: r251539 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/powerpc/pr82015.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6298c2709d9..0a5d125bae7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-08-30 Michael Meissner + + PR target/82015 + * gcc.target/powerpc/pr82015.c: Fix up error message. + 2017-08-30 Martin Liska PR inline-asm/82001 diff --git a/gcc/testsuite/gcc.target/powerpc/pr82015.c b/gcc/testsuite/gcc.target/powerpc/pr82015.c index b177de4249f..c8b53b8a01d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr82015.c +++ b/gcc/testsuite/gcc.target/powerpc/pr82015.c @@ -5,10 +5,10 @@ unsigned long foo_11(vector __int128_t *p) { - return __builtin_unpack_vector_int128(*p, 11); /* { dg-error "argument 2 must be 0 or 1" } */ + 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) { - return __builtin_unpack_vector_int128(*p, n); /* { dg-error "argument 2 must be 0 or 1" } */ + return __builtin_unpack_vector_int128(*p, n); /* { dg-error "argument 2 must be a 1-bit unsigned literal" } */ } -- 2.30.2