1 /* Test __builtin_{add,sub}_overflow on {,un}signed int. */
3 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */
6 typedef unsigned int U
;
8 #define SHIFT ((__SIZEOF_INT__ - 1) * __CHAR_BIT__)
9 #define S_MAX __INT_MAX__
10 #define S_MIN (-__INT_MAX__ - 1)
11 #if __SIZEOF_LONG__ > __SIZEOF_INT__
13 #elif __SIZEOF_LONG_LONG__ > __SIZEOF_INT__
14 typedef long long int W
;
15 #elif __SIZEOF_INT128__ > __SIZEOF_INT__
21 #include "builtin-arith-overflow-7.c"