On Thu, 2005-04-07 at 14:49, Eric Botcazou wrote: > Hi Eric, > > The __builtin_apply/__builtin_return mechanism is broken on SPARC in 4.x > because of > > 2004-03-17 Eric Christopher <[EMAIL PROTECTED]> > > * builtins.c (apply_args_size): Use reg_raw_mode. > (apply_result_size): Ditto. > > http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01422.html > > > I think the change breaks __builtin_apply/__builtin_return on every platform > that can return values in several contiguous registers, because the entry for > FUNCTION_VALUE_REGNO_P in the manual reads:
That was my thoughts too. You could take a look at how I fixed it on ARM. R.