modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr81913.c (about) 1 /* PR tree-optimization/81913 */ 2 3 typedef __UINT8_TYPE__ u8; 4 typedef __UINT32_TYPE__ u32; 5 6 static u32 7 b (u8 d, u32 e, u32 g) 8 { 9 do 10 { 11 e += g + 1; 12 d--; 13 } 14 while (d >= (u8) e); 15 16 return e; 17 } 18 19 int 20 main (void) 21 { 22 u32 x = b (1, -0x378704, ~0xba64fc); 23 if (x != 0xd93190d0) 24 __builtin_abort (); 25 return 0; 26 } 27