public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-9340] testsuite: Fix g++.dg/opt/pr102970.C
@ 2021-11-29 8:52 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-11-29 8:52 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:581ef8f627249c75074d9be985c3fe81c5b48182
commit r11-9340-g581ef8f627249c75074d9be985c3fe81c5b48182
Author: Marek Polacek <polacek@redhat.com>
Date: Wed Nov 3 20:39:32 2021 -0400
testsuite: Fix g++.dg/opt/pr102970.C
This test uses a generic lambda, only available since C++14, so don't
run it in earlier modes.
gcc/testsuite/ChangeLog:
* g++.dg/opt/pr102970.C: Only run in C++14 and up.
(cherry picked from commit cd389e5f9447d21084abff5d4b7db6cf1da74e57)
Diff:
---
gcc/testsuite/g++.dg/opt/pr102970.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/opt/pr102970.C b/gcc/testsuite/g++.dg/opt/pr102970.C
index cf5b0ed70b4..2acb3c2c8dc 100644
--- a/gcc/testsuite/g++.dg/opt/pr102970.C
+++ b/gcc/testsuite/g++.dg/opt/pr102970.C
@@ -1,5 +1,5 @@
// { dg-do run }
-// { dg-require-effective-target c++11 }
+// { dg-require-effective-target c++14 }
// { dg-options "-O2 -funroll-loops -fno-tree-vectorize" }
#include <vector>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-29 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 8:52 [gcc r11-9340] testsuite: Fix g++.dg/opt/pr102970.C Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).