This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC target-specific extension
- From: Fabio Alemagna <falemagn at studenti dot unina dot it>
- To: Richard Henderson <rth at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 7 May 2003 07:51:00 +0200 (CEST)
- Subject: Re: GCC target-specific extension
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