Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr113759.c

raw
1 /* PR tree-optimization/113759 */
2
3 extern short t[];
4
5 int
6 foo (int c, int b)
7 {
8 if (b < 0)
9 __builtin_unreachable ();
10 if (c <= 0)
11 __builtin_unreachable ();
12 int d;
13 for (; c >= 0; c--)
14 {
15 int a = b + c;
16 d = t[a];
17 t[a] = 0;
18 }
19 return d;
20 }