This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/72750] Not possible to use -fno-builtin to suppress optimization of some standard functions like atoi


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]