Debian Codegraph @

gcc/testsuite/gcc.dg/lto/pr52097_0.c

raw
1 /* { dg-lto-do link } */
2 /* { dg-lto-options { { -O -flto -fexceptions -fnon-call-exceptions -fno-allow-store-data-races } } } */
3 /* { dg-require-effective-target exceptions } */
4
5 typedef struct { unsigned int e0 : 16; } s1;
6 typedef struct { unsigned int e0 : 16; } s2;
7 typedef struct { s1 i1; s2 i2; } io;
8
9 static io *i;
10
11 void f1 (void)
12 {
13 s1 x0;
14 i->i1 = x0;
15 }
16
17 int main ()
18 {
19 f1 ();
20 return 0;
21 }