omit frame pointer in pr89676
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. for gcc/testsuite/ChangeLog * gcc.target/i386/pr89676.c: Add -fomit-frame-pointer.
This commit is contained in:
parent
16683cefc6
commit
da4a0817be
@ -1,6 +1,6 @@
|
||||
/* PR rtl-optimization/89676 */
|
||||
/* { dg-do compile { target ia32 } } */
|
||||
/* { dg-options "-O2 -mno-stv" } */
|
||||
/* { dg-options "-O2 -mno-stv -fomit-frame-pointer" } */
|
||||
|
||||
unsigned long long
|
||||
foo (unsigned long long i)
|
||||
|
Loading…
Reference in New Issue
Block a user