Bug 84762 - GCC for PowerPC32 violates the SysV ABI spec for small struct returns

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Fri Nov 30 13:58:00 GMT 2018


Am 2018-11-26 um 06:13 schrieb Lokesh Janghel:
> Hi Sirl,
> 
> As you mentioned in Bugzilla (comment 13),
> aix_return ( return in memory)
> svr4_return (return in register)
> what is the semantics of svr4gnu w.r.t. return.

Hi Lokesh,

I don't quite understand what you are asking me here? In comment 13
I've talked about the option naming, which I was unsure about. In the 
end (before I was stuffed with other work again) I was settling for 
-msvr4-struct-return=standard and -msvr4-struct-return=gnu (which would 
be the default and is equal the current behaviour), leaving 
-maix-struct-return unchanged.

What else do you want to know?

Franz



More information about the Gcc mailing list