Re: omit frame pointer in pr89676

2021-04-27 Thread Jeff Law via Gcc-patches
On 4/27/2021 9:35 AM, Alexandre Oliva wrote: This i386 test expects only two movl instructions. In configurations that --enable-frame-pointer, -O2 won't implicitly enable -fomit-frame-pointer, so we end up with a third movl to set up the frame pointer. This patch enables -fomit-frame-pointer

Re: omit frame pointer in pr89676

2021-04-27 Thread Uros Bizjak via Gcc-patches
On Tue, Apr 27, 2021 at 5:35 PM Alexandre Oliva wrote: > > > This i386 test expects only two movl instructions. > > In configurations that --enable-frame-pointer, -O2 won't implicitly > enable -fomit-frame-pointer, so we end up with a third movl to set up > the frame pointer. > > This patch enable

omit frame pointer in pr89676

2021-04-27 Thread Alexandre Oliva
This i386 test expects only two movl instructions. In configurations that --enable-frame-pointer, -O2 won't implicitly enable -fomit-frame-pointer, so we end up with a third movl to set up the frame pointer. This patch enables -fomit-frame-pointer explicitly, so that the result no longer depend