1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 php_filter_parse_int (char const *str, unsigned int str_len, long *ret)
26 if ((unsigned long) str < (unsigned long) end)
28 if ((int const) *str >= 49)
30 if ((int const) *str <= 57)
42 ctx_value = (long) (tmp * (int) ((int const) *tmp___0 - 48));
62 while ((unsigned long) str < (unsigned long) end)
64 if ((int const) *str >= 48)
66 if ((int const) *str <= 57)
70 digit = (int) ((int const) *tmp___1 - 48);
74 (9223372036854775807L - (long) digit) / 10L)
76 ctx_value = ctx_value * 10L + (long) digit;
89 ((-0x7FFFFFFFFFFFFFFF - 1) + (long) digit) / 10L)
91 ctx_value = ctx_value * 10L - (long) digit;
118 /* { dg-final { scan-assembler-not "idiv" } } */