view gcc/testsuite/gcc.c-torture/compile/pr71436.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

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