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. Ok for trunk? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2024-08-20 Rainer Orth <r...@cebitec.uni-bielefeld.de> gcc/testsuite: * g++.target/i386/pr116275-2.C (dg-options): Add -mstv -mno-stackrealign.
# HG changeset patch # Parent bdcd231534fa1f4ed66daec1d78cb1f07e7ed567 testsuite: i386: Fix g++.target/i386/pr116275-2.C on Solaris/x86 diff --git a/gcc/testsuite/g++.target/i386/pr116275-2.C b/gcc/testsuite/g++.target/i386/pr116275-2.C --- 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 {