From 1b1e13dbde7f3eef0f8356af05c5de1fb46cb31b Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 22 Aug 2019 21:55:19 +0000 Subject: [PATCH] Fix gcc.target/i386/minmax-4.c etc. on 32-bit Solaris/x86 * gcc.target/i386/minmax-4.c: Add -mno-stackrealign to dg-options. * gcc.target/i386/minmax-5.c: Likewise. * gcc.target/i386/minmax-6.c: Likewise. * gcc.target/i386/minmax-7.c: Likewise. * gcc.target/i386/pr91154.c: Likewise. From-SVN: r274836 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.target/i386/minmax-4.c | 2 +- gcc/testsuite/gcc.target/i386/minmax-5.c | 2 +- gcc/testsuite/gcc.target/i386/minmax-6.c | 2 +- gcc/testsuite/gcc.target/i386/minmax-7.c | 2 +- gcc/testsuite/gcc.target/i386/pr91154.c | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f8a806578ef..67ff3dcc3c3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2019-08-22 Rainer Orth + + * gcc.target/i386/minmax-4.c: Add -mno-stackrealign to dg-options. + * gcc.target/i386/minmax-5.c: Likewise. + * gcc.target/i386/minmax-6.c: Likewise. + * gcc.target/i386/minmax-7.c: Likewise. + * gcc.target/i386/pr91154.c: Likewise. + 2019-08-22 Eric Botcazou * c-c++-common/dump-ada-spec-15.c: Check that the parameters are named. diff --git a/gcc/testsuite/gcc.target/i386/minmax-4.c b/gcc/testsuite/gcc.target/i386/minmax-4.c index 9d8ed182b61..4b4d43688ff 100644 --- a/gcc/testsuite/gcc.target/i386/minmax-4.c +++ b/gcc/testsuite/gcc.target/i386/minmax-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mstv -msse4.1" } */ +/* { dg-options "-O2 -mstv -mno-stackrealign -msse4.1" } */ #include "minmax-3.c" diff --git a/gcc/testsuite/gcc.target/i386/minmax-5.c b/gcc/testsuite/gcc.target/i386/minmax-5.c index 1971dbd4eb8..c37067c0243 100644 --- a/gcc/testsuite/gcc.target/i386/minmax-5.c +++ b/gcc/testsuite/gcc.target/i386/minmax-5.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mstv -mavx512vl" } */ +/* { dg-options "-O2 -mstv -mno-stackrealign -mavx512vl" } */ #include "minmax-3.c" diff --git a/gcc/testsuite/gcc.target/i386/minmax-6.c b/gcc/testsuite/gcc.target/i386/minmax-6.c index b3af8c4d8ae..615f919ba0a 100644 --- a/gcc/testsuite/gcc.target/i386/minmax-6.c +++ b/gcc/testsuite/gcc.target/i386/minmax-6.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -march=haswell" } */ +/* { dg-options "-O2 -march=haswell -mno-stackrealign" } */ unsigned short UMVLine16Y_11 (short unsigned int * Pic, int y, int width) diff --git a/gcc/testsuite/gcc.target/i386/minmax-7.c b/gcc/testsuite/gcc.target/i386/minmax-7.c index 905f085b3fd..619a93946c7 100644 --- a/gcc/testsuite/gcc.target/i386/minmax-7.c +++ b/gcc/testsuite/gcc.target/i386/minmax-7.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -march=haswell" } */ +/* { dg-options "-O2 -march=haswell -mno-stackrealign" } */ extern int numBins; extern int binOffst; diff --git a/gcc/testsuite/gcc.target/i386/pr91154.c b/gcc/testsuite/gcc.target/i386/pr91154.c index 69f2e21bccc..2fea335ee50 100644 --- a/gcc/testsuite/gcc.target/i386/pr91154.c +++ b/gcc/testsuite/gcc.target/i386/pr91154.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -msse4.1 -mstv" } */ +/* { dg-options "-O2 -msse4.1 -mstv -mno-stackrealign" } */ void foo (int *dc, int *mc, int *tpdd, int *tpmd, int M) { -- 2.30.2