aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr71436.c
blob: ab08d5d369c769fc9e411238fcf1379705e576f2 (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
29
30
31
32
33
34
35
/* PR target/71436.  */

#pragma pack(1)
struct S0
{
  volatile int f0;
  short f2;
};

void foo (struct S0 *);
int a, d;
static struct S0 b[5];
static struct S0 c;
void fn1 ();
void
main ()
{
  {
    struct S0 e;
    for (; d; fn1 ())
      {
        {
          a = 3;
          for (; a >= 0; a -= 1)
            {
              {
                e = c;
              }
              b[a] = e;
            }
        }
      }
  }
  foo (b);
}