comparison gcc/testsuite/gcc.c-torture/execute/pr83269.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR tree-optimization/83269 */
2
3 int
4 main ()
5 {
6 #if __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ > 4 && __CHAR_BIT__ == 8
7 volatile unsigned char a = 1;
8 long long b = 0x80000000L;
9 int c = -((int)(-b) - (-0x7fffffff * a));
10 if (c != 1)
11 __builtin_abort ();
12 #endif
13 return 0;
14 }