Re: Return slot optimization for stack protector strong

2020-04-27 Thread Stefan Schulze Frielinghaus via Gcc-patches
On Mon, Jan 27, 2020 at 06:53:51PM +0100, Jakub Jelinek wrote: > On Mon, Jan 27, 2020 at 06:49:23PM +0100, Stefan Schulze Frielinghaus wrote: > > some function calls trigger the stack-protector-strong although such > > calls are later on implemented via calls to internal functions. > > Consider the

Re: Return slot optimization for stack protector strong

2020-03-01 Thread Stefan Schulze Frielinghaus
On Tue, Jan 28, 2020 at 06:18:41PM +0100, Stefan Schulze Frielinghaus wrote: > On Mon, Jan 27, 2020 at 06:53:51PM +0100, Jakub Jelinek wrote: > > On Mon, Jan 27, 2020 at 06:49:23PM +0100, Stefan Schulze Frielinghaus wrote: > > > some function calls trigger the stack-protector-strong although such >

Re: Return slot optimization for stack protector strong

2020-01-28 Thread Stefan Schulze Frielinghaus
On Mon, Jan 27, 2020 at 06:53:51PM +0100, Jakub Jelinek wrote: > On Mon, Jan 27, 2020 at 06:49:23PM +0100, Stefan Schulze Frielinghaus wrote: > > some function calls trigger the stack-protector-strong although such > > calls are later on implemented via calls to internal functions. > > Consider the

Re: Return slot optimization for stack protector strong

2020-01-27 Thread Jakub Jelinek
On Mon, Jan 27, 2020 at 06:49:23PM +0100, Stefan Schulze Frielinghaus wrote: > some function calls trigger the stack-protector-strong although such > calls are later on implemented via calls to internal functions. > Consider the following example: > > long double > rintl_wrapper (long doub

Return slot optimization for stack protector strong

2020-01-27 Thread Stefan Schulze Frielinghaus
Hi, some function calls trigger the stack-protector-strong although such calls are later on implemented via calls to internal functions. Consider the following example: long double rintl_wrapper (long double x) { return rintl (x); } On s390x a return value of type `long dou