Debian Codegraph @

gcc/testsuite/gcc.dg/pr115933.c

raw
1 /* PR rtl-optimization/115933 */
2 /* { dg-do run } */
3 /* { dg-options "-O1 -fno-tree-loop-optimize -ftree-vrp -fno-tree-ch -fgcse" } */
4
5 int a, b;
6 unsigned c() {
7 int d, e = d = 2;
8 if (a < 0)
9 for (e = 0; e < 1; e++)
10 d = 0;
11 b = e;
12 return d;
13 }
14 int main() {
15 c();
16 if (b != 2)
17 __builtin_abort();
18 return 0;
19 }