diff mbox series

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

Message ID ydd60cptrjf.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show
Series [testsuite,i386] Fix gcc.target/i386/pr81736-[34].c on 32-bit Solaris/x86 (PR target/81736) | expand

Commit Message

Rainer Orth Sept. 11, 2017, 11:15 a.m. UTC
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

Comments

Uros Bizjak Sept. 17, 2017, 3:45 p.m. UTC | #1
On Mon, Sep 11, 2017 at 1:15 PM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> 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?

OK.

Thanks,
Uros.

>         Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2017-09-11  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.
>
diff mbox series

Patch

# 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)