Fix gcc.target/i386/pr81736-[34].c on 32-bit Solaris/x86 (PR target/81736)

PR target/81736
	* gcc.target/i386/pr81736-3.c: Add -mno-omit-leaf-frame-pointer.
	* gcc.target/i386/pr81736-4.c: Likewise.

From-SVN: r252908
This commit is contained in:
Rainer Orth 2017-09-18 08:25:11 +00:00 committed by Rainer Orth
parent 37026b57bd
commit 2a63b04ee8
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2017-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/81736
* gcc.target/i386/pr81736-3.c: Add -mno-omit-leaf-frame-pointer.
* gcc.target/i386/pr81736-4.c: Likewise.
2017-09-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/79622

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
/* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" } */
void
foo (void)

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */
/* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" } */
int
foo (int i1, int i2, int i3, int i4, int i5, int i6, int i7)