From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id C7D71385354F for ; Fri, 30 Sep 2022 19:26:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C7D71385354F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x102c.google.com with SMTP id x32-20020a17090a38a300b00209dced49cfso2537142pjb.0 for ; Fri, 30 Sep 2022 12:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=9S4io0UvjiRTV6gVfN45+2J3oNEgZg3fE991EUXhiLQ=; b=pGnL3L8hvjJPFSoYiq69DCW/cdovj6bEQTIh14/Xw/4HGdVLCn4/8GOdm/m7jElrzD yoeSj4G9kFezgjS98fgAw+PlgGmJtN6FaLs28AMDXadFTTxqA47/zxp1keMIZatwK3Qo InpWRSOAZA04SFu5vhcdIt/R2SiMBuDwS1/a4GtOu2GqvG0wIZv1SFyMnAyTQ0Zm7u/7 PZFQpsOAPEjMaN1SJx9071P30YR5mfLye+McU0FcjqilQq0yBuHomyyb64SkYWltJUap a/6I4YWDJXC7lHT+kvn4R6ky4cer+gIUoiuUqUkL7Lf/XE5QQGjG1wJrFa/+v/gosUHG bd0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=9S4io0UvjiRTV6gVfN45+2J3oNEgZg3fE991EUXhiLQ=; b=0415t+8Xryp2C+/DJLO6xV93rXw4auUsZowPWB5PR7uClF43yayART/tOonGSMLmxN elVGs3qzt23LMPA7h5IywcGYzusEtzbnlutZUwSxI3jGv9Iy3yik/FUnHLgFDPIpzsr4 pfg4ZyPDzlwetpzr7og2sXtDZ21UMAPfYBhLKjFTD95GvTWCeQAc4JXyhspEvWLw3ClS 5gqVyQX52iwr3nprDA5nbxs9cAJPTAbtdf2Ol3HI+KdBfnpST56Q3yfMWBOI8dbAIYpe bTNnWbWtzfH8cX86lthz9iNhlO8SqGNUw1ngNizZBQWLzzvlsk23NBhfwwkd5ihIjN1r PBaA== X-Gm-Message-State: ACrzQf3p2mhqYFLQ9Rqg+YE5BXzjteLqAqhWu5MsUM/xscs/j1jqjlcI IBU1neqbU7vub101cDrbmqAU2iruojnrZQ== X-Google-Smtp-Source: AMsMyM4TVe0jT+vOU4WPngODEgYxJLLgE/qo73pn8a7Afmfxan+RA1zpZ2paTYAvftEYFgvzX1nIEg== X-Received: by 2002:a17:902:d4c1:b0:176:b795:c639 with SMTP id o1-20020a170902d4c100b00176b795c639mr10207254plg.154.1664566007412; Fri, 30 Sep 2022 12:26:47 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id d4-20020a170902654400b001769206a766sm2205779pln.307.2022.09.30.12.26.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 12:26:47 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2022 13:26:43 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH] RISC-V: Eliminate long-casts of X_add_number in diagnostics Content-Language: en-US To: binutils@sourceware.org References: <20220930103919.323690-1-christoph.muellner@vrull.eu> From: Jeff Law In-Reply-To: <20220930103919.323690-1-christoph.muellner@vrull.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 List-Id: On 9/30/22 04:39, Christoph Muellner wrote: > From: Christoph Müllner > > As reported in (and in addition to) > https://sourceware.org/pipermail/binutils/2022-September/123198.html > there is no need for casts to (signed/unsigned) long, as we can use > C99's PRIs64/PRIu64 format specifiers. > > Signed-off-by: Christoph Müllner OK. jeff