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: 1843885 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Af77BUrD; 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 4S1WCD0yT1z1yq7 for ; Thu, 5 Oct 2023 23:31:52 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 174F538768A2 for ; Thu, 5 Oct 2023 12:31:50 +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+incoming=patchwork.ozlabs.org@gcc.gnu.org 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); } }