modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr51354.c (about)

     1  /* PR target/51354 */
     2  /* { dg-require-effective-target alloca } */
     3  
     4  extern void abort (void);
     5  
     6  typedef int __attribute__ ((aligned (32))) ai;
     7  
     8  void foo (int *x, ai * y);
     9  
    10  int
    11  bar (int x)
    12  {
    13    if (x == 12346)
    14      return 24;
    15    ai i;
    16    foo (__builtin_alloca (x), &i);
    17    return 128;
    18  }