Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/200031109-1.c

raw
1 /* For a short time on the tree-ssa branch this would warn that
2 value was not initialized as it was optimizing !(value = (m?1:2))
3 to 0 and not setting value before. */
4
5 int t(int m)
6 {
7 int value;
8 if (!(value = (m?1:2)))
9 value = 0;
10 return value;
11 }