From patchwork Thu Oct 5 12:31:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 148689 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp261311vqb; Thu, 5 Oct 2023 05:32:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsZRODDfRk5IZR6cuPkk4AGP7b7XCPgBji1+2CHPtHMhOCWVY4lbjua37e6y0Bc/MOjcNs X-Received: by 2002:a17:907:720b:b0:9a1:f4e8:87b9 with SMTP id dr11-20020a170907720b00b009a1f4e887b9mr5678831ejc.45.1696509143026; Thu, 05 Oct 2023 05:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696509143; cv=none; d=google.com; s=arc-20160816; b=1BbHSLfjVv5Vj1aJLbdc26hlMsmCxW58RJaX6Wcrv33XZGKjrBOp5AYfI0PH+LxyI/ Sq3UkfcjTYh7JZkUrX6pXSsv2WfNGF72RghhGIlwACdfyH3iojovwpSHWJCBpB1A0m3H 8WiukPR1q0LkvWZo1J9fOLhhhs3QXK7Oo5UdFMe95SKEPrq2txBids2UJfXeiiQn1JLQ eACzB+9mtZ8HI+TX4b9oHAZ216+0h+/p98Nj8/0biU2xNfX2Aw1QPnzJkeaklYok0iYl YpMdPVWkz6YQrgmm+OtuQ0rS2tyW2Vtm/eM7r1cxBIN4sJZWV/l321Vshabj4Cdq0WF3 qFrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :dmarc-filter:delivered-to; bh=payyk3ID3DnAELDTdVRiyOWow9hSpSxO5EWRoLV0+bs=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=kQS+2/k6oY2bv5eLa2y7q15ZcWlP0m//Cq2ypwUpFeYMrYy8HqJePirSihxz8LDDoh fu7A+pflWrl3TJDAj11VFuCwG94zIg69hJb0v+IaqWUgRUOOv6KDF4u3jI4VCyHn8Gl6 7bFow+OXc5GOiKrMXC7R1bx0Bkb1DJ9C53WbjYYWN+auCnIgHdI3/UJjucOIRDIEGIs2 uews2n/vYDecKgr4giLpaq6icXg0TcWX9HEehHhepfrZESlF3k+cnRyladYHxNYitz3X CTcHI1WQvP4ZU6tZ0CFKv2xhKaBgl2OJrN1Y8zw8s86tbU01KFhc1cfc6L82SrIccW7a 3ONA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Af77BUrD; 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=redhat.com Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id a8-20020a1709064a4800b009adbab4a250si630365ejv.63.2023.10.05.05.32.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 05:32:23 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=Af77BUrD; 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=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 95AD93875DE1 for ; Thu, 5 Oct 2023 12:32:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 28C2D3865C24 for ; Thu, 5 Oct 2023 12:31:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28C2D3865C24 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696509095; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=payyk3ID3DnAELDTdVRiyOWow9hSpSxO5EWRoLV0+bs=; b=Af77BUrDc5zT9xKBbounD9xA2VBiDsNFEIwWr3tLhT0EHu7e0/b0qCA5o/gIqi/SZIl6T2 0f0ySbKx1+4FlPy6gmDonuoMhlu8uKQXDXH3A7jrFiKXZPBbQilo1EJGIeZWRPjVPqwbD4 h45P7gsbLn6royM+/uDFNNAx1peLk7Q= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-491-kv33VU2uOgW0cyn2ATzH8g-1; Thu, 05 Oct 2023 08:31:34 -0400 X-MC-Unique: kv33VU2uOgW0cyn2ATzH8g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 170743C1F131 for ; Thu, 5 Oct 2023 12:31:34 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.193.202]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CDFFC111CD23 for ; Thu, 5 Oct 2023 12:31:33 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 395CVVJi497773 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 5 Oct 2023 14:31:31 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 395CVVHY497772 for gcc-patches@gcc.gnu.org; Thu, 5 Oct 2023 14:31:31 +0200 Date: Thu, 5 Oct 2023 14:31:30 +0200 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] sreal: Fix typo in function name Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778918771082153644 X-GMAIL-MSGID: 1778918771082153644 Hi! My earlier version of the ipa_bits removal patch resulted in self-test failures in sreal. When debugging it, I was really confused that I couldn't find verify_arithmetics function in the source. Turns out it had bad spelling... Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. 2023-10-05 Jakub Jelinek * sreal.cc (verify_aritmetics): Rename to ... (verify_arithmetics): ... this. (sreal_verify_arithmetics): Adjust caller. Jakub --- gcc/sreal.cc.jj 2023-08-08 15:55:08.366138409 +0200 +++ gcc/sreal.cc 2023-10-05 10:20:20.528806377 +0200 @@ -323,7 +323,7 @@ sreal_verify_basics (void) of given arguments A and B. */ static void -verify_aritmetics (int64_t a, int64_t b) +verify_arithmetics (int64_t a, int64_t b) { ASSERT_EQ (a, -(-(sreal (a))).to_int ()); ASSERT_EQ (a < b, sreal (a) < sreal (b)); @@ -356,7 +356,7 @@ sreal_verify_arithmetics (void) int a = values[i]; int b = values[j]; - verify_aritmetics (a, b); + verify_arithmetics (a, b); } }