Debian Codegraph @

gcc/testsuite/gcc.target/i386/auto-init-23.c

raw
1 /* Verify the auto initialization of nested VLA. */
2 /* { dg-do compile } */
3 /* { dg-options "-ftrivial-auto-var-init=zero -fdump-rtl-expand" } */
4
5 void g(void *);
6
7 void foo(int a)
8 {
9 int x[a][a];
10 g(x);
11 }
12
13 /* { dg-final { scan-rtl-dump "__builtin_memset" "expand" } } */