Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / other / pr89692.C
blob36adeb52773cf3b939fbf858cd45df81740139a4
1 // PR lto/89692
2 // { dg-do compile }
3 // { dg-require-effective-target lto }
4 // { dg-options "-flto -O2" }
6 struct S {
7   short int a, b;
8   unsigned char c : 1;
9 };
11 bool
12 foo (void)
14   unsigned char d[sizeof (S)] = { 0 };
15   S e;
17   __builtin_memcpy (&e, d, sizeof (d));
19   return e.c == d[0];