Optimization problem

Nathan Sidwell nathan@codesourcery.com
Tue May 20 13:26:00 GMT 2003


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




More information about the Gcc-help mailing list