This is the mail archive of the
mailing list for the GCC project.
Re: atoi vs strtol in rtl.c:read_rtx()
> > Is there any reason not to use strtol() here?
Would we have to create one that handled HOST_WIDE_INTS bigger than
long? Say, a strtoll, or strtoull?
if (*tmp_char == '0'
&& (tmp_char == 'x' || tmp_char == 'X'))
tmp_wide = string_to_hex (tmp_char+2);
... original code ...
Or perhaps we could expand the existing atoll function and just always