Debian Codegraph @

gcc/testsuite/gcc.dg/pr58432.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-profiling "-fprofile-generate" } */
3 /* { dg-options "-O3 -fprofile-generate" } */
4
5 struct {
6 int prefix;
7 int dir_idx;
8 } *a;
9 int b;
10 void fn1() {
11 int *c, *d;
12 for (; b; b++)
13 if (d[b]) {
14 c[b] = d[b];
15 a[0].dir_idx = 0;
16 }
17 }