tree-optimization/111233 - loop splitting miscompile
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr94206.c
blob9e54bba4ed400430768fe9231fa7ec3abb992791
1 /* { dg-do run { target lp64 } } */
3 struct {
4 unsigned long x:33;
5 } s;
6 typedef __typeof__(s.x + 0) uint33;
8 int main()
10 uint33 x;
11 __builtin_memset(&x, -1, sizeof x);
12 unsigned long u;
13 __builtin_memcpy(&u, &x, sizeof u);
14 if (u != -1ul)
15 __builtin_abort ();
16 return 0;