Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr95649.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-tree-scev-cprop" } */
3
4 char b (void);
5 char *d;
6 int e;
7 int f;
8 void
9 g (char *h)
10 {
11 while (d)
12 {
13 long i = b ();
14 if (h + i > d)
15 break;
16 if (f > 0 || e)
17 do
18 *h++ = *h;
19 while (--i);
20 }
21 }