2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / c-c++-common / torture / builtin-arith-overflow-14.c
blob6f03cf71949069fba7a5708a15228059f71fd3f5
1 /* Test __builtin_{add,sub,mul}_overflow. */
2 /* { dg-do run } */
3 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */
5 #include "builtin-arith-overflow-12.h"
7 TESTS (long long, LLONG_MIN, LLONG_MAX)
9 #undef T
10 #define T(n, t1, t2, tr, v1, v2, vr, b, o) t##n##b ();
12 int
13 main ()
15 TESTS (long long, LLONG_MIN, LLONG_MAX)
16 return 0;