gcc/testsuite/gcc.c-torture/compile/20070529-1.c
raw| 1 | /* ICE in chrec_fold_plus_poly_poly. */ |
| 2 | |
| 3 | typedef unsigned short __u16; |
| 4 | typedef unsigned int u32; |
| 5 | typedef __u16 __be16; |
| 6 | struct hfs_extent { |
| 7 | __be16 count; |
| 8 | }; |
| 9 | __u16 __fswab16 (__u16); |
| 10 | int hfs_free_fork( int type) |
| 11 | { |
| 12 | u32 total_blocks, blocks, start; |
| 13 | struct hfs_extent *extent; |
| 14 | int res, i; |
| 15 | for (i = 0; i < 3; extent++, i++) |
| 16 | blocks += __fswab16((( __u16)(__be16)(extent[i].count))); |
| 17 | } |