https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
--- Comment #13 from Heiko Eißfeldt <heiko at hexco dot de> --- (In reply to Andrew Pinski from comment #9) > I am going to add a: > #pragma GCC posion atoi > > And fix all of the cases. Andrew, since I am currently working on this, could you supply a patch regarding adding "#pragma GCC poison atoi" (It would probably take me much longer to figure that out). When all places have been fixed, this could serve as a future reminder to not erroneously reintroduce these functions with UB again. Thanks.