__builtin_apply/sparc.md problem on SPARC-Solaris ?

Richard Henderson rth@cygnus.com
Thu Oct 22 18:00:00 GMT 1998


On Thu, Oct 22, 1998 at 08:52:59AM -0700, Ovidiu Predescu wrote:
> Conceptually the idea seems to be good, I never understood
> why you're saying it's not good.

Because __builtin_apply does not receive type info for the function
arguments or return value.  So on any machine in which that makes a
difference as to which register is used -- which is quite a few --
it cannot possibly work.

> I would also like to replace it with something else but I don't know
> of a dynamic function invocation library that could be released together
> with EGCS, so that we don't introduce unnecessary dependencies for the
> Objective-C runtime library.

In which case I guess the bits you need will have to be reimplemented
for libobjc.


r~



More information about the Gcc mailing list