/* 20020328-1.c from the execute part of the gcc torture suite. */ #include #ifdef __SDCC #pragma std_c99 #endif int b = 0; func () { } void testit(int x) { if (x != 20) ASSERT (0); } void testTortureExecute (void) { int a = 0; if (b) func(); /* simplify_and_const_int would incorrectly omit the mask in the line below. */ testit ((a + 23) & 0xfffffffc); return; }