| 1 |
/* PR debug/43165 */ |
| 2 |
/* { dg-options "-g" } */ |
| 3 |
/* { dg-require-effective-target int32plus } */ |
| 4 |
|
| 5 |
struct __attribute__((packed)) S |
| 6 |
{ |
| 7 |
unsigned char a; |
| 8 |
unsigned short b; |
| 9 |
unsigned short c; |
| 10 |
unsigned d : 24; |
| 11 |
}; |
| 12 |
|
| 13 |
void |
| 14 |
foo (struct S p) |
| 15 |
{ |
| 16 |
for (; p.c; p.c++) |
| 17 |
; |
| 18 |
} |