view gcc/testsuite/gcc.dg/20061109-2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */
/* { 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 long b:24;
};

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