2 /* { dg-options "-O1 -fwrapv" } */
20 #define BASE ((TYPE) -1 < 0 ? -126 : 4)
22 __attribute__ ((noinline
, noipa
))
23 void fun1(TYPE
*x
, int n
)
25 for (int i
= 0; i
< n
; i
++)
29 __attribute__ ((noinline
, noipa
, optimize("O0")))
30 void fun2(TYPE
*x
, int n
)
32 for (int i
= 0; i
< n
; i
++)
44 for (int i
= 1; i
< N
; ++i
)
49 printf ("%d: 0x%x\n", i
, a
[i
]);
55 for (int i
= 0; i
< N
; ++i
)
58 printf ("%d = 0x%x == 0x%x\n", i
, a
[i
], b
[i
]);