This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization problem
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Anders Ådland <adland at stud dot ntnu dot no>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 20 May 2003 14:26:46 +0100
- Subject: Re: Optimization problem
- Organization: Codesourcery LLC
- References: <1053434486.1187.19.camel@marit>
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