From 995060aa5eb85a9a6d06c5cf9e87650522ccee3f Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 12 May 2022 14:47:35 -0400 Subject: [PATCH] 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. --- gcc/testsuite/g++.target/powerpc/pr101168.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4