* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / pr80162-1.c
blob7d442b37417b6e019110894fd05ff5e6abab52fe
1 /* PR middle-end/80162 */
2 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
3 /* { dg-options "-msse2 -ffixed-xmm7" } */
5 typedef int v8 __attribute__ ((vector_size (8)));
6 struct U { v8 a; v8 b; };
7 register struct U u asm ("xmm7");
9 int *
10 foo (int i)
12 return &u.a[i]; /* { dg-error "address of \[^ \n\r]* register variable" } */