1 2 3 4 5 6 7 8 9 10 11 12 13
/* PR tree-optimization/105094 */ /* { dg-do compile } */ /* { dg-options "-O2" } */ struct S { short a; char b[~(__SIZE_TYPE__)0 / __CHAR_BIT__ - 1]; }; void bar (struct S *); void foo (void) { struct S s = { 5 }; bar (&s); }