Optimization problem
Muthukumar Ratty
muthu@iqmail.net
Tue May 20 16:23:00 GMT 2003
> 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
It is defined as inline function in glibc. If you dont have
__strtol_internal, then that is your problem.
> the original call, but still optimize the rest of the code? I have tried
> -fno-bultin but it didn't help.
>
Try -fno-inline which will leave atoi as it is but also leave other
functions not inlined.
Muthu
> Anders
>
>
>
More information about the Gcc-help
mailing list