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