Debian Codegraph @

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

raw
1 /* { dg-do run } */
2 /* { dg-options "-O1 -fno-tree-dce -fno-tree-fre" } */
3
4 struct a {
5 int b;
6 } const c;
7 void d(const struct a f) {}
8 void e(const struct a f) {
9 f.b == 0 ? 1 : f.b;
10 d(f);
11 }
12 int main() {
13 e(c);
14 return 0;
15 }