This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug 84762 - GCC for PowerPC32 violates the SysV ABI spec for small struct returns
- From: Lokesh Janghel <lokeshjanghel91 at gmail dot com>
- To: Franz dot Sirl-kernel at lauterbach dot com
- Cc: segher at gcc dot gnu dot org, Umesh Kalappa <umesh dot kalappa0 at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 4 Dec 2018 12:44:00 +0530
- Subject: Re: Bug 84762 - GCC for PowerPC32 violates the SysV ABI spec for small struct returns
- References: <CACcU4_o9ip3GWvj4YwkrmP9TUnzKZGBRQe_ghn7vuXsjxyH07w@mail.gmail.com> <e03f4c19-9756-8975-d396-497b1a0b72db@lauterbach.com> <CACcU4_pDknGEavyzOk7+PZD0OUCdjUXk3AE_Kfg2Yna0RBdG-w@mail.gmail.com> <17718de5-6ffb-6ad4-612f-247ab4c8d224@lauterbach.com>
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?
Lokesh
On Fri, Nov 30, 2018 at 4:18 PM Franz Sirl
<Franz.Sirl-kernel@lauterbach.com> wrote:
>
> 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
--
Thanks & Regards
Lokesh Janghel
+91-9752984749