This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __builtin_apply/sparc.md problem on SPARC-Solaris ?
- To: Ovidiu Predescu <ovidiu at cup dot hp dot com>, Richard Henderson <rth at cygnus dot com>
- Subject: Re: __builtin_apply/sparc.md problem on SPARC-Solaris ?
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 22 Oct 1998 09:15:46 -0700
- Cc: Helge Hess <hh at mdlink dot de>, egcs <egcs at cygnus dot com>
- References: <19981021231805.A9180@dot.cygnus.com> <199810221553.IAA11417@hpcll563.cup.hp.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
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~