From fc8f44e06b183707150d4a0937e7c8506984edf1 Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Mon, 11 May 2020 17:51:03 +0800 Subject: [PATCH] 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. --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/ipa/pr94856.C | 1 + 2 files changed, 5 insertions(+) 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: -- 2.30.2