aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr97764.c
blob: 4ceaab8e87eb15886ea3e20761a1f1ea5ae3c7ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/97764 */
/* { dg-require-effective-target int32plus } */

struct S { int b : 3; int c : 28; int d : 1; };

int
main ()
{
  struct S e = {};
  e.c = -1;
  if (e.d)
    __builtin_abort ();
  return 0;
}