Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52904.c
blob0b8910fbe180abe045901203e67d1a290fb2cf73
1 /* { dg-do compile } */
2 /* { dg-options "-Wstrict-overflow -O2" } */
3 extern int foo (int);
5 int
6 wait_reading_process_output (void)
8 int nfds = 0;
9 int channel;
11 for (channel = 0; channel < 1024; ++channel)
13 if (foo (channel))
14 nfds++;
17 if (nfds < 0) /* { dg-bogus "assuming signed overflow does not occur" "" } */
18 return 1;
19 return 0;