1 /* PR middle-end/18921 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
4
5 extern void abort (void);
6
foo(int k)7 int foo (int k)
8 {
9 unsigned char j = 0;
10 (k ? 0 : j++) == -1;
11 return j;
12 }
13
main()14 int main ()
15 {
16 if (!foo (0))
17 abort ();
18 return 0;
19 }
20
21