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