call_value pattern
James Montgomerie
jrmg@dcs.ed.ac.uk
Wed Jan 24 12:53:00 GMT 2001
On Wed, 24 Jan 2001, Alan Lehotsky wrote:
>
> Actually, I think there's something wrong if the mode of operand[0]
> is not right.
Ah, yes, you're right. I've just noticed that I'd typoed in the md file,
and have actually been testing the mode of operand[1]. Doh! I suppose
that'll teach me to code when tired.
> My guess would be that you haven't defined the FUNCTION_VALUE macro correctly.
>
> Note, that if your machine is BIG_ENDIAN and sizeof(int) is larger
> than UNITS_PER_WORD,
> you need a special hack for functions returning a char. [it took me
> entirely too long
> to realize this....]
Hmmm... I'll look out for that.
Thanks to everyone who replied,
Jamie.
More information about the Gcc
mailing list