From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 8C20C385801D for ; Thu, 23 Sep 2021 15:10:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8C20C385801D Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-496-Vo-WytUANWu16RecT-BOJQ-1; Thu, 23 Sep 2021 11:10:23 -0400 X-MC-Unique: Vo-WytUANWu16RecT-BOJQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 92736802937; Thu, 23 Sep 2021 15:10:22 +0000 (UTC) Received: from localhost (unknown [10.33.36.241]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4279810016FE; Thu, 23 Sep 2021 15:10:22 +0000 (UTC) Date: Thu, 23 Sep 2021 16:10:21 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Remove c++20-specific dg-error directives in test Message-ID: MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="46+9+ohQDsx55NTt" Content-Disposition: inline X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2021 15:10:26 -0000 --46+9+ohQDsx55NTt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I added extra dg-error directives for C++20 to match the extra errors caused by some of the call stack being constexpr in C++20. Since Jason's changes to reduce those errors, those dg-error lines no longer match. This removes them again. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc: Remove dg-error lines for C++20-only errors. Tested x86_64-linux. Committed to trunk. --46+9+ohQDsx55NTt Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" commit 43358e91bd1d2b376ce8f426cf9becedf8343a06 Author: Jonathan Wakely Date: Wed Sep 22 18:15:24 2021 libstdc++: Remove c++20-specific dg-error directives in test I added extra dg-error directives for C++20 to match the extra errors caused by some of the call stack being constexpr in C++20. Since Jason's changes to reduce those errors, those dg-error lines no longer match. This removes them again. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc: Remove dg-error lines for C++20-only errors. diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc index e114168842e..dfdead42daa 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc @@ -47,5 +47,3 @@ test02() } // { dg-error "value type is destructible" "" { target *-*-* } 0 } -// { dg-error "use of deleted function" "" { target c++20 } 0 } -// { dg-error "is private within this context" "" { target c++20 } 0 } --46+9+ohQDsx55NTt--