https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574

--- Comment #16 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Heiko Eißfeldt from comment #12)
> (In reply to GCC Commits from comment #11)
> > The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:
> ...
> > Note since this code
> >     still uses atoi, an invalid index can still be used in some cases but
> > that is
> >     recorded as part of PR 44574.
> 
> I would like to fix the atoi in read-rtl and atoi/atol/atoll/atoq in
> read-rtl-function, using strtoq as a fallback when strtoll is not available.

Please note that you have strtoll (and friends) implemented in libiberty. You
could use the one from the library instead of a fallback to strtoq.

Reply via email to