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