From: Nathan Sidwell Date: Wed, 6 May 2020 19:15:32 +0000 (-0700) Subject: c++: Adjust testcase target [pr94946] X-Git-Tag: releases/gcc-10.1.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3be91b0ac75d3a6b1d97a1664e46b9326131fbd;p=thirdparty%2Fgcc.git c++: Adjust testcase target [pr94946] This uses a target spec to test only on ia32 targets --- diff --git a/gcc/testsuite/g++.dg/ext/attr-parm-1.C b/gcc/testsuite/g++.dg/ext/attr-parm-1.C index 37214e63c011..cc53a2ce328b 100644 --- a/gcc/testsuite/g++.dg/ext/attr-parm-1.C +++ b/gcc/testsuite/g++.dg/ext/attr-parm-1.C @@ -1,5 +1,4 @@ -// { dg-do compile { target { i?86-*-* x86_64-*-* } } } -// { dg-options -m32 } +// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } // PR 94946 class a { template a(b (*)());