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 explicitly, so that the result no longer depends on that configuration option. Regstrapped on x86_64-linux-gnu, also tested with a cross to x86-vx7r2. Ok to install? for gcc/testsuite/ChangeLog * gcc.target/i386/pr89676.c: Add -fomit-frame-pointer.
OK jeff