Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/pr52891-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR tree-optimizations/52891 */ #if __SIZEOF_INT__ > 2 struct __attribute__((packed)) S { unsigned s : 22; }; #else struct __attribute__((packed)) S { unsigned s : 12; }; #endif struct __attribute__((packed)) T { struct S t; } c; int a, b, d; void foo (void) { if (1 ? (!c.t.s & (d < 0)) < a : 0) b = 0; }