https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72750
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- This is not a bug. You could make the file using atoi declare it itself rather than including <stdlib.h> (because the type of atoi doesn't involve any types from standard headers, doing so is valid). Or, again, separate the use of atoi into a separate file and use -fno-inline for that file.