OSDN Git Service

gcc/testsuite/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20061109-1.c
1 /* { dg-do compile { target { int32plus } } } */
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 int b:24;
11 };
12
13 void
14 foo (struct a *t)
15 {
16   t->b = 32;
17 }