From 61b58e7fa5aea3ef0c7db2d9f75d17d65dff56a3 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 17 Apr 2020 09:01:08 +0200 Subject: [PATCH] testsuite: Fix up test language requirements [PR94314] With c++11 one gets: Excess errors: .../testsuite/g++.dg/pr94314-4.C:19:28: error: too many arguments to function 'void operator delete(void*)' because C++ sized deallocation is a C++14 feature. 2020-04-17 Jakub Jelinek PR c++/94314 * g++.dg/pr94314-4.C: Require c++14 rather than c++11. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/pr94314-4.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e10dc694e41..1341eb2745a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-17 Jakub Jelinek + + PR c++/94314 + * g++.dg/pr94314-4.C: Require c++14 rather than c++11. + 2020-04-16 Peter Bergner PR rtl-optimization/93974 diff --git a/gcc/testsuite/g++.dg/pr94314-4.C b/gcc/testsuite/g++.dg/pr94314-4.C index d097f29d4ad..fd3b9c762f2 100644 --- a/gcc/testsuite/g++.dg/pr94314-4.C +++ b/gcc/testsuite/g++.dg/pr94314-4.C @@ -1,5 +1,5 @@ /* PR c++/94314. */ -/* { dg-do run { target c++11 } } */ +/* { dg-do run { target c++14 } } */ /* { dg-options "-O2 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */ int count = 0; -- 2.30.2