From: David Edelsohn Date: Thu, 12 May 2022 18:47:35 +0000 (-0400) Subject: testsuite: PPC vector double requires VSX X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=995060aa5eb85a9a6d06c5cf9e87650522ccee3f;p=platform%2Fupstream%2Fgcc.git testsuite: PPC vector double requires VSX pr101168.C uses __vector double, which requires VSX, not just Altivec. This patch invokes the testcase with the -mvsx option. * g++.target/powerpc/pr101168.C: Require VSX. --- diff --git a/gcc/testsuite/g++.target/powerpc/pr101168.C b/gcc/testsuite/g++.target/powerpc/pr101168.C index 284e77f..e0512a9 100644 --- a/gcc/testsuite/g++.target/powerpc/pr101168.C +++ b/gcc/testsuite/g++.target/powerpc/pr101168.C @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target powerpc_altivec_ok } */ -/* { dg-options "-maltivec" } */ +/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-mvsx" } */ using vdbl = __vector double; #define BREAK 1