summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20061109-1.c
blob: 2ba30bf84e164939986f58b5ca620ba5343f4b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile { target { int32plus } } } */
/* { dg-options "-O1" } */

/* This assignment might be implemented with a mem copy from the
   literal pool with two BLKmode operands.  This produced an ICE on S/390
   since simplify_subreg was called for such a BLKmode operand.  */

struct a
{
  unsigned int b:24;
};

void
foo (struct a *t)
{
  t->b = 32;
}