view gcc/testsuite/gcc.dg/20061109-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { 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;
}