The new gcc.target/i386/pr81736-[34].c tests currently FAIL on 32-bit Solaris x86. Fixed as suggested by HJ in the PR. Tested with the appropriate runtest invocation on i386-pc-solaris2.11, x86_64-pc-linux-gnu, and x86_64-apple-darwin11. Assembler output on Linux and Darwin is unchanged.
Ok for mainline? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2017-09-11 Rainer Orth <r...@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.
# HG changeset patch # Parent 79870b011f66569412e6da49853b5bd7ee3e7b25 Fix gcc.target/i386/pr81736-[34].c on 32-bit Solaris/x86 (PR target/81736) diff --git a/gcc/testsuite/gcc.target/i386/pr81736-3.c b/gcc/testsuite/gcc.target/i386/pr81736-3.c --- 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 --- 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)