public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4414] sreal: Fix typo in function name
@ 2023-10-05 12:30 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-10-05 12:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ebfd27ee2d3f8df46329521fdd8a727d808fd3ad

commit r14-4414-gebfd27ee2d3f8df46329521fdd8a727d808fd3ad
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Oct 5 14:28:44 2023 +0200

    sreal: Fix typo in function name
    
    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...
    
    2023-10-05  Jakub Jelinek  <jakub@redhat.com>
    
            * sreal.cc (verify_aritmetics): Rename to ...
            (verify_arithmetics): ... this.
            (sreal_verify_arithmetics): Adjust caller.

Diff:
---
 gcc/sreal.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/sreal.cc b/gcc/sreal.cc
index 606a571e339..681a8a812ca 100644
--- a/gcc/sreal.cc
+++ b/gcc/sreal.cc
@@ -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);
       }
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-05 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 12:30 [gcc r14-4414] sreal: Fix typo in function name Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).