summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20100609-1.c
blob: 8e1175faa32ea7d90290ac8c249dcc67367ad339 (plain)
1
2
3
4
5
6
7
8
extern unsigned long int strtoul (__const char *__restrict __nptr,       char **__restrict __endptr, int __base);
int find_reloads (int i, char *p)
{
  int c;
  while ((c = *p++))
    return strtoul (p - 1, &p, 10); 
  return 0;
}