From: Kito Cheng Date: Mon, 11 May 2020 09:51:03 +0000 (+0800) Subject: testsuite: Require gnu-tm support for pr94856.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc8f44e06b183707150d4a0937e7c8506984edf1;p=gcc.git testsuite: Require gnu-tm support for pr94856.C - The testcase uses the -fgnu-tm option but does not ensure that support is enabled. This patch adds the test to the testcase. * gcc/testsuite/g++.dg/ipa/pr94856.C: Require fgnu-tm. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c35e084b366..7d28875760c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-05-11 Kito Cheng + + * gcc/testsuite/g++.dg/ipa/pr94856.C: Require fgnu-tm. + 2020-05-11 Uroš Bizjak PR target/95046 diff --git a/gcc/testsuite/g++.dg/ipa/pr94856.C b/gcc/testsuite/g++.dg/ipa/pr94856.C index 5315c52d80e..40f3a167e29 100644 --- a/gcc/testsuite/g++.dg/ipa/pr94856.C +++ b/gcc/testsuite/g++.dg/ipa/pr94856.C @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fno-tree-dse --param uninlined-function-insns=0 --param early-inlining-insns=3 -fgnu-tm " } */ +/* { dg-require-effective-target fgnu_tm } */ class a { public: