From 2a63b04ee82dcdd9582ccb3fb7d853a19db28aec Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 18 Sep 2017 08:25:11 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/pr81736-3.c | 2 +- gcc/testsuite/gcc.target/i386/pr81736-4.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0063c3c3586..9b1e19a4e52 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-09-18 Rainer Orth + + 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 PR tree-optimization/79622 diff --git a/gcc/testsuite/gcc.target/i386/pr81736-3.c b/gcc/testsuite/gcc.target/i386/pr81736-3.c index c3bde7dd933..a34734d613a 100644 --- a/gcc/testsuite/gcc.target/i386/pr81736-3.c +++ b/gcc/testsuite/gcc.target/i386/pr81736-3.c @@ -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) diff --git a/gcc/testsuite/gcc.target/i386/pr81736-4.c b/gcc/testsuite/gcc.target/i386/pr81736-4.c index 25f50016a64..73ecd9cfd49 100644 --- a/gcc/testsuite/gcc.target/i386/pr81736-4.c +++ b/gcc/testsuite/gcc.target/i386/pr81736-4.c @@ -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) -- 2.30.2