From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id A41913858D1E; Fri, 30 Sep 2022 20:29:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A41913858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664569748; bh=ndKJkJLfznRuCXfkU87yS8l4ECARdrj/JBrFGo4yGeg=; h=From:To:Subject:Date:From; b=riXIQkuDgNUNHcXFKnVApCZabbIHkcDnzS9/EBJyRn6fnSikEqO+r/KvcUpJXi0KL BdYDJ9EhSWOFIV3Y0BrOMqRGeI3YOgXEpbCrvilAHadYzykt3Di5UthFRCBEAk7dnA SmMP4QgRkVf+5b1pvRvOtScfjiUO36gAvaWZZJEQ= 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 r13-2996] libstdc++: Fix broken dg-prune-output X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 61786edf7a82ffb4979207b43a8204ebc2a7671d X-Git-Newrev: 7069d03ba4ad6133225b89d433d9e86f0b0745b8 Message-Id: <20220930202908.A41913858D1E@sourceware.org> Date: Fri, 30 Sep 2022 20:29:08 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7069d03ba4ad6133225b89d433d9e86f0b0745b8 commit r13-2996-g7069d03ba4ad6133225b89d433d9e86f0b0745b8 Author: Jonathan Wakely Date: Fri Sep 30 19:10:29 2022 +0100 libstdc++: Fix broken dg-prune-output The new pattern in the dg-prune-output directive doesn't work. Instead of a messy regex full of leaning toothpicks, just match on the diagnostic text instead of the header paths. libstdc++-v3/ChangeLog: * testsuite/20_util/bind/ref_neg.cc: Fix dg-prune-output directive. Diff: --- libstdc++-v3/testsuite/20_util/bind/ref_neg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc b/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc index 1e9f3e7fece..a78935775c2 100644 --- a/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc +++ b/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc @@ -50,7 +50,7 @@ void test02() // Ignore the reasons for deduction/substitution failure in the headers. // Arrange for the match to work on installed trees as well as build trees. -// { dg-prune-output "[/\\](functional|bits/invoke.h):" } +// { dg-prune-output "no type named 'type' in 'struct std::result_of" } int main() {