Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mpx / hard-reg-2-lbv.c
blob38fe59f8be99632ff2168a565f9c164f28febb91
1 /* { dg-do run { target sse2_runtime } } */
2 /* { dg-shouldfail "bounds violation" } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx -msse2" } */
6 #define SHOULDFAIL
8 #include "mpx-check.h"
10 typedef int v16 __attribute__((vector_size(16)));
12 int foo(int i) {
13 register v16 u asm("xmm0");
14 return u[i];
17 int mpx_test (int argc, const char **argv)
19 printf ("%d\n", foo (-1));
20 return 0;