]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr41469-1.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr41469-1.c
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
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"} } */