[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc
Subject: Re: Bug 84762 - GCC for PowerPC32 violates the SysV ABI spec for small struct returns
From: Franz Sirl <Franz.Sirl-kernel () lauterbach ! com>
Date: 2018-12-04 9:57:20
Message-ID: 46e8f4ff-fed5-0701-2440-cc24c86862d4 () lauterbach ! com
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic