]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Cleanup debug code for SAT_* testcases [NFC]
authorPan Li <pan2.li@intel.com>
Wed, 25 Sep 2024 08:00:27 +0000 (16:00 +0800)
committerPan Li <pan2.li@intel.com>
Wed, 25 Sep 2024 09:53:19 +0000 (17:53 +0800)
Some print code for debugging is committed by mistake, remove them
from the test header file.

It is test only patch and obvious up to a point, will commit it
directly if no comments in next 48H.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/scalar_sat_binary_run_xxx.h: Remove printf
code for debugging.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h

index 7578453e944f7e7a1f42fbd2af05efab8bf07ed3..a7e0d9886260624e2a693c094da5c6a4e42c166f 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef HAVE_DEFINED_SCALAR_SAT_BINARY_RUN_XXX
 #define HAVE_DEFINED_SCALAR_SAT_BINARY_RUN_XXX
 
-#include <stdio.h>
-
 int
 main ()
 {
@@ -14,10 +12,7 @@ main ()
       d = DATA[i];
 
       if (RUN_BINARY (d.a, d.b) != d.expect)
-      {
-       printf ("%d + %d = %d, but %d\n", d.a, d.b, d.expect, RUN_BINARY (d.a, d.b));
        __builtin_abort ();
-      }
     }
 
   return 0;