This is the mail archive of the gcc-help@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]

Re: Optimization problem


Anders Ådland wrote:
My call to the library function atoi() is converted to a
__strtol_internal function call when compiling with -O1 or higher. This
is a GNU C library call, which I don't have. How can I tell GCC to use
the original call, but still optimize the rest of the code? I have tried
-fno-bultin but it didn't help.
Are you sure that conversion isn't happening in the preprocessor?
The gcc source doesn't contain the string 'strtol_internal'.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



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