From 31ec7242e1ff1e8da376ec9ffef10b07ac562881 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 27 Oct 2020 14:45:15 +0100 Subject: [PATCH] testsuite: restrict test to c++11 and later [PR97590] 2020-10-27 Jakub Jelinek PR tree-optimization/97560 PR testsuite/97590 * g++.dg/pr97560.C: Require c++11 effective target and add comment with PR number. --- gcc/testsuite/g++.dg/pr97560.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/pr97560.C b/gcc/testsuite/g++.dg/pr97560.C index f9e7edfcaf9..59313f972df 100644 --- a/gcc/testsuite/g++.dg/pr97560.C +++ b/gcc/testsuite/g++.dg/pr97560.C @@ -1,4 +1,5 @@ -// { dg-do compile } +// PR tree-optimization/97560 +// { dg-do compile { target c++11 } } // { dg-options "-O2 -fno-tree-forwprop -fnon-call-exceptions" } template -- 2.30.2