aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/auto-init-24.c
blob: 5cc3a756a1c518f7f08b6951d8957eb34d0589a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Verify the auto initialization of nested VLA.  */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=pattern -fdump-rtl-expand" } */

void g(void *);

void foo(int a)
{
  int x[a][a];
  g(x);
}

/* { dg-final { scan-rtl-dump "__builtin_memset" "expand" } } */