2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 200031109-1.c
blobd1d495bac1860051f1ce19ea274687626537552d
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. */
5 int t(int m)
7 int value;
8 if (!(value = (m?1:2)))
9 value = 0;
10 return value;