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]
Other format: [Raw text]

Re: i686 elf return values


On 08/12/13 08:07, Maciej W. Rozycki wrote:

  My conclusion therefore is i386/ELF was not maintained, as far as the
return convention is concerned, beyond r34721 and it looks to me like it
should have been converted with r45726 to make use of
ix86_return_in_memory just like generic i386, perhaps with a special
exception for complex types (although as I noted above, this exception was
probably a mistake from the beginning).

  Any thoughts?

Thanks for digging into this. It does look like the ABI is accidental, and i686elf.h should not define SUBTARGET_RETURN_IN_MEMORY.

nathan


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