[16/22] Rename pathological -> setjmp

Message ID 20231004123921.634024-17-j@lambda.is
State Unresolved
Headers
Series [01/22] Add condition coverage profiling |

Checks

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

Commit Message

Jørgen Kvalsvik Oct. 4, 2023, 12:39 p.m. UTC
  ---
 gcc/testsuite/gcc.misc-tests/gcov-22.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
  

Patch

diff --git a/gcc/testsuite/gcc.misc-tests/gcov-22.c b/gcc/testsuite/gcc.misc-tests/gcov-22.c
index 28b7de66022..3737235d40e 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-22.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-22.c
@@ -16,24 +16,24 @@  int identity(int x) { return x; }
 
    __builtin_setjmp did not trigger this, so we need setjmp from libc.  */
 void
-pathological001 (int a, int b, int c)
+setjmp001 (int a, int b, int c)
 {
     if (a)  /* conditions(1/2) true(0) */
-	        /* conditions(end) */
+	    /* conditions(end) */
 	noop ();
 
     if (b)  /* conditions(1/2) false(0) */
-	        /* conditions(end) */
+	    /* conditions(end) */
 	noop ();
 
     if (c && setjmp (buf))  /* conditions(1/4) true(0 1) false(1) */
-			                /* conditions(end) */
+			    /* conditions(end) */
 	noop ();
 }
 
-///* Adapted from freetype-2.13.0 gxvalid/gxvmod.c classic_kern_validate */
+/* Adapted from freetype-2.13.0 gxvalid/gxvmod.c classic_kern_validate */
 int
-pathological002 (int a)
+setjmp002 (int a)
 {
     int error = identity(a);
 
@@ -63,8 +63,8 @@  Exit:
 int
 main ()
 {
-    pathological001 (0, 1, 0);
-    pathological002 (0);
+    setjmp001 (0, 1, 0);
+    setjmp002 (0);
 }