gcc/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr82015.c
blobc8b53b8a01d05ac830ad9aa5a3f1c11e2dffe403
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-options "-O2 -mvsx" } */
6 unsigned long foo_11(vector __int128_t *p)
8 return __builtin_unpack_vector_int128(*p, 11); /* { dg-error "argument 2 must be a 1-bit unsigned literal" } */
11 unsigned long foo_n(vector __int128_t *p, unsigned long n)
13 return __builtin_unpack_vector_int128(*p, n); /* { dg-error "argument 2 must be a 1-bit unsigned literal" } */