[patch preview] New target hooks

Alexandre Oliva aoliva@redhat.com
Mon Aug 4 21:24:00 GMT 2003


On Aug  4, 2003, Richard Henderson <rth@redhat.com> wrote:

> On Mon, Aug 04, 2003 at 02:23:41PM +1000, Fergus Henderson wrote:
>> > If you can't get the ABI of a function from its type, then
>> > taking the address of the function changes its ABI.
>> 
>> That's not impossible; a function could have two entry points,
>> one for direct calls and one for indirect calls.

> Sure, if we did that.  But we don't, ergo we have a bug.

And if at some point we do, we have to change interfaces all over?
Don't sound like a good plan to me, if we can have a
forward-compatible solution right now that would be more efficient.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc-patches mailing list