1/* ICE due to invalid GIMPLE created during strlen simplification. */
2/* { dg-require-effective-target alloca } */
3
4extern unsigned long strlen (__const char *__s);
5extern void bar ();
6extern int cols;
7
8void foo (void)
9{
10 char s[cols + 2];
11 if (strlen (s) > 0)
12 bar ();
13}
14