Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20040130-1.c

raw
1 /* PR target/11475 */
2 /* Origin: <[email protected]> */
3
4 /* This used to fail on SPARC because of a broken pattern. */
5
6 #pragma pack(2)
7
8 struct
9 {
10 unsigned char G936:7;
11 unsigned short G937:6;
12 unsigned int :4;
13 unsigned short :14;
14 unsigned int G938:8;
15 #if __INT_MAX__ >= 2147483647L
16 unsigned int :30;
17 #endif
18 unsigned short :16;
19 #if __INT_MAX__ >= 2147483647L
20 unsigned int :18;
21 #endif
22 unsigned short G939:9;
23 } G928b;
24
25 void TestG928(void)
26 {
27 G928b.G936 |= G928b.G939;
28 }