Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-14.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* Test __builtin_{add,sub,mul}_overflow. */ /* { dg-do run } */ /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */ #include "builtin-arith-overflow-12.h" TESTS (long long, LLONG_MIN, LLONG_MAX) #undef T #define T(n, t1, t2, tr, v1, v2, vr, b, o) t##n##b (); int main () { TESTS (long long, LLONG_MIN, LLONG_MAX) return 0; }