gcc/testsuite/gcc.dg/20061109-2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O1" } */ |
| 3 | |
| 4 | /* This assignment might be implemented with a mem copy from the |
| 5 | literal pool with two BLKmode operands. This produced an ICE on S/390 |
| 6 | since simplify_subreg was called for such a BLKmode operand. */ |
| 7 | |
| 8 | struct a |
| 9 | { |
| 10 | unsigned long b:24; |
| 11 | }; |
| 12 | |
| 13 | void |
| 14 | foo (struct a *t) |
| 15 | { |
| 16 | t->b = 32; |
| 17 | } |