1 /* PR middle-end/80162 */ 2 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ 3 /* { dg-options "-msse2 -ffixed-xmm7" } */ 4 5 typedef int v8 __attribute__ ((vector_size (8))); 6 struct U { v8 a; v8 b; }; 7 register struct U u asm ("xmm7"); 8 9 int * foo(int i)10foo (int i) 11 { 12 return &u.a[i]; /* { dg-error "address of \[^ \n\r]* register variable" } */ 13 } 14