From patchwork Thu Feb 22 05:53:25 2024 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: 1902580 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=iNsw+cRU; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TgMnP68KPz23hY for ; Thu, 22 Feb 2024 16:55:36 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 86DF0385DC15 for ; Thu, 22 Feb 2024 05:55:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 1BA543857B95; Thu, 22 Feb 2024 05:53:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BA543857B95 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1BA543857B95 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::331 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708581219; cv=none; b=kKv32FkggXRuyQL7IqWGWLQqptwAn/NNFtjiZaSp8bafTESTLoWPabSSDG+H3ON8ljo7g3BRLL5qBuIqzK8tf6mN3BWc9GQpSaOHEGDoq18B4y9YmQyQjMryQ0IX4bosZSvO+923thIC5CMtS6hj+cE2FoTp6V3wXQO0fgSGZkA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708581219; c=relaxed/simple; bh=EvjTZ+4QcODuAxo564lwnSoYwLf1Upc/tWZRuvl7znw=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=QcohVUI4/q/5AzKY55HJNP1gOhGTKBNZwDo7pBn2BCZNzAMC+CvXgJzVoeM7fFFyPc83xAjOiAlbDpT/TuwyaoZBuIfsM2uIR7JCpeQFel556xvgsnY/LYq75e1SY3wuxmg9UpoT4vamz/Lx2YMILs/WlEMv4G/6E7pm09cUasA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4127a7c082dso5862695e9.0; Wed, 21 Feb 2024 21:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708581207; x=1709186007; darn=gcc.gnu.org; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=IJmEr2TCAy4qEDvRQo5sYzm0ZS4p4/gTjRzDDkiWhB8=; b=iNsw+cRUZykl5Vwh0pbU/kWwLp4HTDjcssWa6S7XZHoliF1fAj48NWXPdDioDeOPZM Qzg/bbunS41cXdB/t1AnJ+Cz4irmOKBHSNh7soexc09Tca19WGUf/Txb9FwqE6IKE2/J 2QL7uGQCFAi3PA7t2I7Y6Q7A1a7LwZNwsu6+V+aFHSrHMAJmmYgs+iXq1vzbA7AK7TMN MXsI+dPDWybTFWAoMStub9k+S5uQn8ixB6nYTemjhg2SuNnvxpuRCdmyMXsEb8PRMKSc 08tPBHsLm38pYva3qlQJFnzGSwUlRFprV5BeBRsWKpH9rGuDnJYISvaVhU6kS5kww4rU kgzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708581207; x=1709186007; 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=IJmEr2TCAy4qEDvRQo5sYzm0ZS4p4/gTjRzDDkiWhB8=; b=KxkxPg7QanQFvLerMib536MVWdxRUsvN2K6NggS6+CXcJ5JNHfCPHVTNgliBW0mjbI gX3umC4GjSOpmmkoZSK8SCtKl0Puk3dsNJ+DcgzMEH89j0YIo3TsCuoy+gm7p1kBSvh5 UwIClFgVxFOpyuvWpX5ujaQggMbzq827j9W0hwoAznizqCr7pm49gfqy+pAyVUeetUXt QFvRKLofKqFHg3BcSiVr2ooyvFe5rhwx8l8Rg8U13RvrCicXE/+/ZyR/XsUvKa4mlwOi kX1b0d+LqFbaG9ODYKERhFAWzk/3US4SMouE1TrKRHUt5Wf2z87y2Zmv+UFOsASs66Z7 z0yA== X-Gm-Message-State: AOJu0YymAVPBQQsSFpyK2KB6IDhadGy0k4JOLv7WNoSZCJaADnaAhNy8 LjizOqARAPgZfV2tH+brZ72tB06VE85P3R/8qKfpDDi0HrR2pmh0+hOxrcgd X-Google-Smtp-Source: AGHT+IGh23q7D/MS3Rz2CKW45GOxWXm9dS1eXvqEkP39LrNfHMCQnqHsngcnI0GzXitALurxW/KaYQ== X-Received: by 2002:a5d:4b4e:0:b0:33b:87c2:6700 with SMTP id w14-20020a5d4b4e000000b0033b87c26700mr11547485wrs.42.1708581206752; Wed, 21 Feb 2024 21:53:26 -0800 (PST) Received: from [192.168.42.26] (92-184-123-242.mobile.fr.orangecustomers.net. [92.184.123.242]) by smtp.gmail.com with ESMTPSA id g5-20020adffc85000000b0033d8aeb229csm1366085wrr.27.2024.02.21.21.53.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 21:53:26 -0800 (PST) Message-ID: <77aaca73-7aa8-4d75-b5d2-96d10fd0e759@gmail.com> Date: Thu, 22 Feb 2024 06:53:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: libstdc++ Cc: gcc-patches From: =?utf-8?q?Fran=C3=A7ois_Dumont?= Subject: [PATCH][_GLIBCXX_INLINE_VERSION] Adapt dg-error messages X-Spam-Status: No, score=-9.6 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_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, URI_HEX 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org For those using my patch to build in gnu-versioned-namespace mode it would be preferable not to have any failures when running testsuite.     libstdc++: [_GLIBCXX_INLINE_VERSION] Adapt dg-error message     libstdc++-v3/ChangeLog:             * testsuite/20_util/function_objects/bind_back/111327.cc: Adapt dg-error message             for __8 namespace.             * testsuite/20_util/function_objects/bind_front/111327.cc: Likewise. Ok to commit ? François diff --git a/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc b/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc index d634db9dc1d..f8a65127ccf 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc @@ -39,4 +39,4 @@ int main() { std::move(std::as_const(g1))(); } -// { dg-error "no type named 'type' in 'struct std::invoke_result" "" { target c++23 } 0 } +// { dg-error "no type named 'type' in 'struct std::(__8::)?invoke_result" "" { target c++23 } 0 } diff --git a/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc b/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc index 5fe0a83baec..896492b3d74 100644 --- a/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc +++ b/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc @@ -39,4 +39,4 @@ int main() { std::move(std::as_const(g1))(); } -// { dg-error "no type named 'type' in 'struct std::invoke_result" "" { target c++23 } 0 } +// { dg-error "no type named 'type' in 'struct std::(__8::)?invoke_result" "" { target c++23 } 0 }