libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr97555.c
blob625bc6fa14b3aa65d43c4b26edb83eebfcdae5fe
1 // { dg-do run }
2 // { dg-options "-Os" }
4 struct {
5 int a:1;
6 } b;
8 int c, d, e, f = 1, g;
10 int main ()
12 for (; d < 3; d++) {
13 char h = 1 % f, i = ~(0 || ~0);
14 c = h;
15 f = ~b.a;
16 ~b.a | 1 ^ ~i && g;
17 if (~e)
18 i = b.a;
19 b.a = i;
21 return 0;