2 // { dg-require-effective-target lp64 }
3 // { dg-options "-O2 -fwrapv" }
5 typedef long long int int64
;
6 #define INT64CONST(x) (x##LL)
7 /* -9223372036854775808ULL */
8 #define INT64_MIN (-INT64CONST(0x7FFFFFFFFFFFFFFF) - 1)
10 static void __attribute__((noipa
)) foo(int64 arg1
, int64 arg2
) {
12 int64 a2
= (arg2
< 0) ? arg2
: -arg2
;
20 if (arg1
== INT64_MIN
&& arg2
== -1) return;