From patchwork Mon Nov 28 06:01:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Patchwork-Id: 1709556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=k5ZB8TNU; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLFGm1bynz23nB for ; Mon, 28 Nov 2022 17:01:48 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C5F83385800A for ; Mon, 28 Nov 2022 06:01:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5F83385800A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669615305; bh=dyy/6Kue2PQSdsgyM2m60R1PybZHE2RXu2dsJiWHf84=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=k5ZB8TNUbR5HINX8r9x442Bp3XSojpb/u2snuyt9wl6Ghvs6oH02C+c14y9VgQcrg RxVz9TlKOUn9X4hMGxB4u1pMaPTNtESycnkk3enSD6S9EscmYyo0ujXlhp22/zjH7p qhXo4ZuM8iUS6EcGoXr+kFTFCri1JV896eZk0gQU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id DD44F3858C5E; Mon, 28 Nov 2022 06:01:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD44F3858C5E Received: by mail-ed1-x531.google.com with SMTP id s5so13962347edc.12; Sun, 27 Nov 2022 22:01:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dyy/6Kue2PQSdsgyM2m60R1PybZHE2RXu2dsJiWHf84=; b=ELew+conPt6zNBPJMBfUpJF3gYxOtoZUF0NBvVezCbAGI9o+XcEsSJl7S1SH2W4N4V CIDM6mUdpsUEjxLO/rRPXqCA8DLna1VRbj3TNx1d77tTSpbSThHIDhFL9I6bYGWJ1E8X k5MDygdeg8k1JeZavh3x4SneA/T0hIi61IT6dzD9IgjzmPTMnut8PVffqgJd0DGY+62f 3UjU7QQALGt07NMDAlF213I3SLB7u7RIdBYnL6TcaT8xFBaXA7v/sPN1XT94Kh9h3+hh Fbyn4SU9ghUyP1Qtj/HtDJVH+aGhzkhbwILN7NJlf9loz2DJRd/brd0Q13VFlhTxn1V8 P7MQ== X-Gm-Message-State: ANoB5pkMtT3ke5cBKRdrrwHLToi7EnWLY8FzimwBs7HlfD7D1j8V+Qc5 l0c7XrMMwtvK9qtEb+CjEz16nRdu/ho= X-Google-Smtp-Source: AA0mqf6Kc61+D8LOyE+anTOhEqhSa/xzPytjHQ3C6IfS2hV4uLqZ6fEVAMfFtITtMFULOMbrFZ8arw== X-Received: by 2002:a05:6402:285:b0:46a:878c:e8e9 with SMTP id l5-20020a056402028500b0046a878ce8e9mr18190380edv.306.1669615284359; Sun, 27 Nov 2022 22:01:24 -0800 (PST) Received: from [10.53.0.251] ([109.190.253.15]) by smtp.googlemail.com with ESMTPSA id 24-20020a170906319800b007aed2057eaesm4507879ejy.161.2022.11.27.22.01.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Nov 2022 22:01:23 -0800 (PST) Message-ID: <323b61ce-7027-bad3-a061-c198d7268a22@gmail.com> Date: Mon, 28 Nov 2022 07:01:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: fr To: "libstdc++@gcc.gnu.org" Cc: gcc-patches Subject: [PATCH][_GLIBCXX_INLINE_VERSION] Adapt dg error messages X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-Patchwork-Original-From: =?utf-8?q?Fran=C3=A7ois_Dumont_via_Gcc-patches?= From: =?utf-8?q?Fran=C3=A7ois_Dumont?= Reply-To: =?utf-8?q?Fran=C3=A7ois_Dumont?= Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" libstdc++: [_GLIBCXX_INLINE_VERSION] Adapt dg error messages libstdc++-v3/ChangeLog         * testsuite/20_util/bind/ref_neg.cc: Adapt dg-prune-output message.         * testsuite/20_util/function/cons/70692.cc: Adapt dg-error message. Ok to commit ? François diff --git a/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc b/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc index a78935775c2..830b30eae6c 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 "no type named 'type' in 'struct std::result_of" } +// { dg-prune-output "no type named 'type' in 'struct std::(__8::)?result_of" } int main() { diff --git a/libstdc++-v3/testsuite/20_util/function/cons/70692.cc b/libstdc++-v3/testsuite/20_util/function/cons/70692.cc index f9e8fe31570..b15208a2531 100644 --- a/libstdc++-v3/testsuite/20_util/function/cons/70692.cc +++ b/libstdc++-v3/testsuite/20_util/function/cons/70692.cc @@ -11,4 +11,4 @@ int main() std::function ff(f); // { dg-error "no matching function" } std::function f2(f); // { dg-error "no matching function" } } -// { dg-error "std::enable_if" "" { target *-*-* } 0 } +// { dg-error "std::(__8::)?enable_if" "" { target *-*-* } 0 }