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: Bug 84762 - GCC for PowerPC32 violates the SysV ABI spec for small struct returns


Am 2018-12-04 um 08:14 schrieb Lokesh Janghel:
Thank you Sirl,

-msvr4-struct-return=standard and -msvr4-struct-return=gnu (which would
be the default (-msvr4-struct-return=standard)
by default, you mean using registers to return?

Hi Lokesh,

both return small structs in registers. The question is if the returned data is left-aligned (-msvr4-struct-return=standard, MSB-aligned) in the register or if the data is right-aligned (-msvr4-struct-return=gnu, LSB-aligned) in the register.

Franz.



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