2 /* { dg-require-effective-target int32plus } */
3 /* We use -ftrapv so that when SCEV final value replacement introduces
4 undefined overflow we trap. UBSAN inhibits final value replacement. */
5 /* { dg-additional-options "-ftrapv" } */
7 int __attribute__((noclone
,noinline
))
11 for (int i
= 0; i
< 60000; i
++)
16 int main(int argc
, char **argv
)
18 if (foo (-30000, 2) != 1799940000)