public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Marek Polacek <mpolacek@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4877] testsuite: Fix g++.dg/opt/pr102970.C Date: Thu, 4 Nov 2021 00:41:33 +0000 (GMT) [thread overview] Message-ID: <20211104004133.51CAE3858D39@sourceware.org> (raw) https://gcc.gnu.org/g:cd389e5f9447d21084abff5d4b7db6cf1da74e57 commit r12-4877-gcd389e5f9447d21084abff5d4b7db6cf1da74e57 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. 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>
reply other threads:[~2021-11-04 0:41 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211104004133.51CAE3858D39@sourceware.org \ --to=mpolacek@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).