c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / torture / builtin-arith-overflow-p-2.c
blob868bbbd2f5ae1d5843eef37d49118efab3185277
1 /* Test __builtin_{add,sub,mul}_overflow_p. */
2 /* { dg-do run } */
3 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */
5 #define OVFP
6 #include "builtin-arith-overflow-1.h"
8 #define U(s, op) op
9 TESTS (long, LONG_MIN, LONG_MAX)
11 #undef T
12 #define T(n, t1, t2, tr, v1, v2, vr, b, o) t##n##b ();
14 int
15 main ()
17 TESTS (long, LONG_MIN, LONG_MAX)
18 return 0;