Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr52891-2.c

raw
1 /* PR tree-optimizations/52891 */
2
3 #if __SIZEOF_INT__ > 2
4 struct __attribute__((packed)) S { unsigned s : 22; };
5 #else
6 struct __attribute__((packed)) S { unsigned s : 12; };
7 #endif
8 struct __attribute__((packed)) T { struct S t; } c;
9 int a, b, d;
10
11 void
12 foo (void)
13 {
14 if (1 ? (!c.t.s & (d < 0)) < a : 0)
15 b = 0;
16 }