This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: call_value pattern


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]