aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-08-21 10:04:07 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-08-21 10:04:07 +0200
commitcc8fc9850d1a4b614da104cfecd4c2368ee03c98 (patch)
treefd44f3bce96004cd40f2f6f7929ac71cc05eb099 /gcc
parent515730fd65a03c5f92f9ab6438d023aee8cfbecf (diff)
downloadgcc-cc8fc9850d1a4b614da104cfecd4c2368ee03c98.zip
gcc-cc8fc9850d1a4b614da104cfecd4c2368ee03c98.tar.gz
gcc-cc8fc9850d1a4b614da104cfecd4c2368ee03c98.tar.bz2
testsuite: i386: Fix g++.target/i386/pr116275-2.C on Solaris/x86
The new g++.target/i386/pr116275-2.C test FAILs on 32-bit Solaris/x86: FAIL: g++.target/i386/pr116275-2.C scan-assembler vpslld This happens because Solaris defaults to -mstackrealign, disabling -mstv. Fixed by disabling the former and enabling the latter. Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu. 2024-08-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> gcc/testsuite: * g++.target/i386/pr116275-2.C (dg-options): Add -mstv -mno-stackrealign.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.target/i386/pr116275-2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.target/i386/pr116275-2.C b/gcc/testsuite/g++.target/i386/pr116275-2.C
index 98d3c19..9c571fd 100644
--- a/gcc/testsuite/g++.target/i386/pr116275-2.C
+++ b/gcc/testsuite/g++.target/i386/pr116275-2.C
@@ -1,5 +1,5 @@
/* { dg-do compile { target ia32 } } */
-/* { dg-options "-O2 -mavx -mno-avx512vl -std=c++11" } */
+/* { dg-options "-O2 -mavx -mno-avx512vl -mstv -mno-stackrealign -std=c++11" } */
struct SymbolDesc push_back(SymbolDesc);
struct SymbolDesc {