1 /* PR middle-end/97073 */ 2 /* { dg-additional-options "-mno-stv" { target i?86-*-* x86_64-*-* } } */ 3 4 typedef unsigned long long L; 5 union U { L i; struct T { unsigned k; L l; } j; } u; 6 7 __attribute__((noinline,noclone)) void foo(L x)8foo (L x) 9 { 10 u.j.l = u.i & x; 11 } 12 13 int main()14main () 15 { 16 u.i = 5; 17 foo (-1ULL); 18 if (u.j.l != 5) 19 __builtin_abort (); 20 return 0; 21 } 22