From patchwork Wed Feb 15 20:50:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Kretz X-Patchwork-Id: 57722 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp412112wrn; Wed, 15 Feb 2023 12:54:34 -0800 (PST) X-Google-Smtp-Source: AK7set+rtru+Q4c1ifjXvTBSgm3kAHcwYMnAAaIsN8l3lhpbGl4y+HCiOYokAxC66BOTAneMwQI7 X-Received: by 2002:a05:6402:120e:b0:4aa:cc30:b858 with SMTP id c14-20020a056402120e00b004aacc30b858mr3656084edw.7.1676494474508; Wed, 15 Feb 2023 12:54:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676494474; cv=none; d=google.com; s=arc-20160816; b=suzec752wzpTA6PbnJQKfa1lb5bfs5zZCgHX3h42/k5/3m5c01XpfQ8BPy6aEGUZCp lqU/e2Zg3fgeFhdZ+T9M87GOS9ErUKPb+P/onTlvFdsoC+XoKARqlRDaBptfdTaBNAbn gFDqbKj0c2EQRUB4/d/wBFNx/YOaw9hGJeJZe/D4kDfWaRdTkrIfA5Q7qQASurdi8bZD 0aBjt/Jgxtrm9WrYEJqvjaGa34nWcwrfP3i01KTYbR9ECaNDanHlb25G5bm1GWGKRmcC +j4hiPiNM3rg4plDFxcj9Y/NuxeBemLACZzH6UP76d2RXOPJl3mil08vmGPrz/XWvTk+ LmaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :organization:message-id:date:subject:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=FMbQ4gXlR8gn4jmIJV1fyqEBI5FeuQa1oYVmjgAF0Nk=; b=lWNJH9nRA87TRYyLGMcVbQQK9nTA3pl9WrztpBU9PXnjmhlOzWEaUkSKu6/PlAR/8r mNSKoZJDL/rFi9e8QaJkeWOD9eVo2f/TZmi4tHbiLJlEmwCkYZ3svqIEmQDiN1E3sjn2 XveBTlIMxi3udGh1P4NuR9YiB+ZcMvVdoe1JmntFT50lqD8PGYZejcbIOHngV7z3VjQ6 qfUMpMeZnR8dyNQ7Kzb8bkNbkT5B3UNvA8y/TYtUCeJPNIuWJ8q1w8nkHgAiO134wioZ WdOfAjk+BGJ2QyM1oGKSkTbSUvm0FEWd0MGlQstlZCGpnAnZI11+G7sa4ukPcUGrN6D4 FTXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HinUQ85h; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z5-20020aa7cf85000000b004ab4bb74439si18726975edx.411.2023.02.15.12.54.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 12:54:34 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HinUQ85h; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6097538A9098 for ; Wed, 15 Feb 2023 20:51:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6097538A9098 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676494308; bh=FMbQ4gXlR8gn4jmIJV1fyqEBI5FeuQa1oYVmjgAF0Nk=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=HinUQ85hlkA/Y5lGCGTpGU1XszjkRr1r4eo3d0k/8VLB90TQmMZjZPwjEWtmG+duA 2p7GXevLlI9FUXQbjwliPSmFtrULXRwurjjQZk938Lo4cwbdRqIuQICbpXORW6gPGn OpamKBvctgrmUP0RFbI+CGvhS9x0S86ks3N7Hl24= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from lxmtout2.gsi.de (lxmtout2.gsi.de [140.181.3.112]) by sourceware.org (Postfix) with ESMTPS id C10AF385B539; Wed, 15 Feb 2023 20:50:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C10AF385B539 Received: from localhost (localhost [127.0.0.1]) by lxmtout2.gsi.de (Postfix) with ESMTP id 0066F202AD62; Wed, 15 Feb 2023 21:50:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at lxmtout2.gsi.de Received: from lxmtout2.gsi.de ([127.0.0.1]) by localhost (lxmtout2.gsi.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 70R2bMxHF-pw; Wed, 15 Feb 2023 21:50:03 +0100 (CET) Received: from srvEX6.campus.gsi.de (unknown [10.10.4.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lxmtout2.gsi.de (Postfix) with ESMTPS id DA401202AD51; Wed, 15 Feb 2023 21:50:03 +0100 (CET) Received: from minbar.localnet (140.181.3.12) by srvEX6.campus.gsi.de (10.10.4.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.21; Wed, 15 Feb 2023 21:50:03 +0100 To: , Subject: [PATCH 5/7] libstdc++: printf format string fix in testsuite Date: Wed, 15 Feb 2023 21:50:03 +0100 Message-ID: <3557908.R56niFO833@minbar> Organization: GSI Helmholtz Centre for Heavy Ion Research In-Reply-To: <3238840.44csPzL39Z@minbar> References: <3238840.44csPzL39Z@minbar> MIME-Version: 1.0 X-Originating-IP: [140.181.3.12] X-ClientProxiedBy: srvEX6.Campus.gsi.de (10.10.4.96) To srvEX6.campus.gsi.de (10.10.4.96) X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, BODY_8BITS, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, 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: Matthias Kretz via Gcc-patches From: Matthias Kretz Reply-To: Matthias Kretz Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757931870270567080?= X-GMAIL-MSGID: =?utf-8?q?1757931870270567080?= Signed-off-by: Matthias Kretz libstdc++-v3/ChangeLog: * testsuite/experimental/simd/tests/bits/verify.h (verify::verify): Use %zx for size_t in format string. --- libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- ────────────────────────────────────────────────────────────────────────── Dr. Matthias Kretz https://mattkretz.github.io GSI Helmholtz Centre for Heavy Ion Research https://gsi.de stdₓ::simd ────────────────────────────────────────────────────────────────────────── diff --git a/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h b/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h index 2ab3ad3fa8c..01ad50bd01a 100644 --- a/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h +++ b/libstdc++-v3/testsuite/experimental/simd/tests/bits/verify.h @@ -137,7 +137,7 @@ public: { if (m_failed) [&] { - __builtin_fprintf(stderr, "%s:%d: (%s):\nInstruction Pointer: %x\n" + __builtin_fprintf(stderr, "%s:%d: (%s):\nInstruction Pointer: %zx\n" "Assertion '%s' failed.\n", file, line, func, m_ip, cond); (print(extra_info, int()), ...);