gcc/testsuite/gcc.c-torture/compile/BUG13.c
raw| 1 | struct tree_common |
| 2 | { |
| 3 | int uid; |
| 4 | unsigned int code : 8; |
| 5 | unsigned int code2 : 8; |
| 6 | unsigned external_attr : 1; |
| 7 | unsigned public_attr : 1; |
| 8 | |
| 9 | }; |
| 10 | |
| 11 | static int |
| 12 | duplicate_decls (x) |
| 13 | register struct tree_common *x; |
| 14 | { |
| 15 | if (x->external_attr) |
| 16 | if (x->code) |
| 17 | if (x->code2) |
| 18 | x->public_attr = 1; |
| 19 | } |