1 /* { dg-do run } */
2 /* { dg-options "-O2 -fgraphite-identity -fstack-reuse=none -fwrapv -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-loop-ivcanon" } */
3 
4 int xy, tb;
5 
6 void
bt(void)7 bt (void)
8 {
9   for (xy = 0; xy >= 0; --xy)
10     {
11       int yt[8] = { 0 };
12       int pz[2] = { 0 };
13       int sa[32] = { 0 };
14       int us;
15 
16       for (us = 0; us < 8; ++us)
17 	yt[us] = 0;
18 
19       (void) yt;
20       (void) pz;
21       (void) sa;
22     }
23 
24   tb = 1;
25 }
26 
27 int
main(void)28 main (void)
29 {
30   bt ();
31   if (xy != -1)
32     __builtin_abort ();
33 
34   return 0;
35 }
36