summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr70985.c
blob: 17273b029a401e55d08908f19c4f2d9a2dffecd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* { dg-do compile } */
/* { dg-require-effective-target int32plus } */

struct
{
  int f0:24;
} a, c, d;

int b;

int
fn1 ()
{
  return 0;
}

void
fn2 ()
{
  int e;
  if (b) 
    for (; e;)
      {
	d = c;
	if (fn1 (b))
	  b = a.f0;
      }
}