Commit 6da714c6 by Michael Meissner Committed by Michael Meissner

re PR target/82015 (PowerPC should check if 2nd argument to __builtin_unpackv1ti…

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  <meissner@linux.vnet.ibm.com>

	PR target/82015
	* gcc.target/powerpc/pr82015.c: Fix up error message.

From-SVN: r251539
parent 4c8fd8ac
2017-08-30 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/82015
* gcc.target/powerpc/pr82015.c: Fix up error message.
2017-08-30 Martin Liska <mliska@suse.cz> 2017-08-30 Martin Liska <mliska@suse.cz>
PR inline-asm/82001 PR inline-asm/82001
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
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 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) 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" } */
} }
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