1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* PR rtl-optimization/17099 */ extern void exit (int); extern void abort (void); void check (int a) { if (a != 1) abort (); } void test (int a, int b) { check ((a ? 1 : 0) | (b ? 2 : 0)); } int main (void) { test (1, 0); exit (0); }