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]

Re: [PATCH] Old-C++ ABI inline method heuristic problem


Jakub Jelinek wrote:
> But the same paragraph requires the inline function to be defined only in
> all translation units in which they are used.
> In this case, it is only used in m.ii below, not in any other translation
> unit (unless the declaration of method in the class definition counts as
> usage).
Ah, I see, what a pity. You are correct. I recall trying to discover
a definition of 'used' before -- I think it may have been wrt volatile --
but alas it is a (seemingly obvious, but unfortunately not quite)
undefined term.

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


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