[committed] sreal: Fix typo in function name

Message ID ZR6sokqvC68SZNrT@tucnak
State Unresolved
Headers
Series [committed] sreal: Fix typo in function name |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jakub Jelinek Oct. 5, 2023, 12:31 p.m. UTC
  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  <jakub@redhat.com>

	* sreal.cc (verify_aritmetics): Rename to ...
	(verify_arithmetics): ... this.
	(sreal_verify_arithmetics): Adjust caller.


	Jakub
  

Patch

--- 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);
       }
 }