1 /* Test __builtin_{add,sub,mul,{s,u}add,{s,u}sub,{s,u}mul}_overflow. */
3 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */
5 #include "builtin-arith-overflow-1.h"
8 TESTS (int, INT_MIN
, INT_MAX
)
11 TESTS (int, INT_MIN
, INT_MAX
)
14 #define T(n, t1, t2, tr, v1, v2, vr, b, o) t##n##b ();
19 TESTS (int, INT_MIN
, INT_MAX
)
21 #define U(s, op) s##op
22 TESTS (int, INT_MIN
, INT_MAX
)