1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fexceptions -fdump-tree-optimized" } */
3 /* { dg-require-effective-target exceptions } */
4 
5 void af (void *a);
6 
7 void
bf(void)8 bf (void)
9 {
10   int i = 1;
11   char v[i];
12   af (v);
13 }
14 
15 /* { dg-final { scan-tree-dump-not "__builtin_stack_save" "optimized"} } */
16 /* { dg-final { scan-tree-dump-not "__builtin_stack_restore" "optimized"} } */
17