__builtin_apply/sparc.md problem on SPARC-Solaris ?
Ovidiu Predescu
ovidiu@cup.hp.com
Thu Oct 22 21:15:00 GMT 1998
On Thu, 22 Oct 1998 09:15:46 -0700, Richard Henderson <rth@cygnus.com> wrote:
> 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.
Could you please list one case in which type information is needed?
> > 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.
I can do this if I understand why the current mechanism is broken.
Thanks,
Ovidiu
More information about the Gcc
mailing list