modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr82564.c (about)

     1  /* PR middle-end/82564 */
     2  /* { dg-require-effective-target alloca } */
     3  
     4  int
     5  main ()
     6  {
     7    int t = 8, i;
     8    typedef struct { char v[t]; } B; 
     9    B a, b;
    10    B __attribute__ ((noinline)) f () { return b; }
    11    for (i = 0; i < 8; i++)
    12      b.v[i] = i;
    13    a = f ();
    14    return 0;
    15  }