Debian Codegraph @

gcc/testsuite/gcc.dg/vla-23.c

raw
1 /* PR rtl-optimization/50615 */
2 /* Testcase by Zdenek Sojka <[email protected]> */
3
4 /* { dg-do compile } */
5 /* { dg-options "-O --param max-cse-insns=1" } */
6
7 int
8 foo (int a)
9 {
10 if (!a)
11 return 1;
12
13 {
14 int s[a];
15 return 0;
16 }
17 }