GCC target-specific extension

Fabio Alemagna falemagn@studenti.unina.it
Wed May 7 06:08:00 GMT 2003


On Tue, 6 May 2003, Richard Henderson wrote:

> On Wed, May 07, 2003 at 01:33:44AM +0200, Fabio Alemagna wrote:
> > Inline functions aren't good because they need a global libbase (unless
> > you passed one to it as parameter, which again I want to avoid),
>
> Oh, I thought a parameter was where you were getting your
> libbase in the first place.

Implicitely, not explicitely. It's like a C++ virtual method call, the
libbase being the "this" pointer.

But anyway, if you had to do such a hack, where wouuld you start lokking
at? The frontend or the backend? (I see you've avoided answering this
question twice already, let's see if you answer now ;D)

Thanks for your help, though.

Fabio Alemagna



More information about the Gcc mailing list