aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr51354.c
blob: 5b2abb0d421259bbd6ca4e4a40360f7cf649f180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR target/51354 */

extern void abort (void);

typedef int __attribute__ ((aligned (32))) ai;

void foo (int *x, ai * y);

int
bar (int x)
{
  if (x == 12346)
    return 24;
  ai i;
  foo (__builtin_alloca (x), &i);
  return 128;
}