[Bug other/44574] [meta-bug] Avoid use of atoi
heiko at hexco dot de
gcc-bugzilla@gcc.gnu.org
Mon Dec 9 21:21:08 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
Heiko Eißfeldt <heiko at hexco dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |heiko at hexco dot de
--- Comment #12 from Heiko Eißfeldt <heiko at hexco dot de> ---
(In reply to GCC Commits from comment #11)
> The trunk branch has been updated by Andrew Pinski <pinskia@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.
More information about the Gcc-bugs
mailing list