This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 to libiberty: Move to the intersection of C90 an C++


Jakub Jelinek <jakub@redhat.com> writes:

| On Tue, May 24, 2005 at 06:47:18PM +0200, Gabriel Dos Reis wrote:
| > I supposed that it was for performance reason why they were
| > defined inline in hashtab.c, which is why I moved them to hashtab.h
| 
| Yes.
| 
| > with the "static inline" marker.  They won't pose any problem with a
| 
| That seems to be wrong.  They are not exported as inline from hashtab.h,
| as inlining them to other code means the layout of struct htab becomes
| part of the ABI.

That is a persuasive argument. 

Thanks,

-- Gaby


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