[patch] don't give bodies for both 'extern inline' and normal versions of a function in same file

Alexandre Oliva aoliva@redhat.com
Fri Jul 23 18:42:00 GMT 2004


On Jul 22, 2004, Dan Kegel <dank@kegel.com> wrote:

> I think it's only in the file atof.c that the inline version
> won't be available with my patch.

Right.  It probably isn't such a big deal.

> All other parts of glibc, in particular all internal uses of atof,
> should be able to see both versions.

Consider that atof() et al may use other functions that might be
inlined.  With the change you propose, the inline versions won't be
available at all, so you get out-of-line calls to them.  This is the
problem I'm talking about.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Libc-alpha mailing list