From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id CA3F43858020; Thu, 9 Dec 2021 23:29:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA3F43858020 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-5881] libstdc++: Remove bogus dg-error for effective-target c++20 X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: a8e02a00a0fcac42657c8ef7921566e42db8ef49 X-Git-Newrev: 9042302ef06dc8484ee188ebd6c4164ba67d347d Message-Id: <20211209232944.CA3F43858020@sourceware.org> Date: Thu, 9 Dec 2021 23:29:44 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2021 23:29:44 -0000 https://gcc.gnu.org/g:9042302ef06dc8484ee188ebd6c4164ba67d347d commit r12-5881-g9042302ef06dc8484ee188ebd6c4164ba67d347d Author: Jonathan Wakely Date: Thu Dec 9 22:14:57 2021 +0000 libstdc++: Remove bogus dg-error for effective-target c++20 This test no longer has additional errors for C++20 mode, so remove the dg-error that is now failing, and the unnecessary dg-prune-output. libstdc++-v3/ChangeLog: * testsuite/20_util/scoped_allocator/69293_neg.cc: Remove dg-error for c++20. Diff: --- libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc index fd37374447f..143adc3f51c 100644 --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc @@ -47,8 +47,4 @@ test01() auto p = sa.allocate(1); sa.construct(p); // this is required to be ill-formed // { dg-error "failed: .* uses_allocator is true" "" { target *-*-* } 0 } - // { dg-error "too many initializers for 'X'" "" { target c++2a } 0 } } - -// Needed because of PR c++/92193 -// { dg-prune-output "no matching function for call to" }