From: Jakub Jelinek Date: Tue, 27 Oct 2020 13:45:15 +0000 (+0100) Subject: testsuite: restrict test to c++11 and later [PR97590] X-Git-Tag: basepoints/gcc-12~3827 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ec7242e1ff1e8da376ec9ffef10b07ac562881;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/testsuite/g++.dg/pr97560.C b/gcc/testsuite/g++.dg/pr97560.C index f9e7edfcaf9a..59313f972df3 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