This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: [patch] don't give bodies for both 'extern inline' and normal versions of a function in same file


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}


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