https://gcc.gnu.org/g:5d87b98a4ae58d7e6c0dad041c72cd73b693269d

commit r15-3855-g5d87b98a4ae58d7e6c0dad041c72cd73b693269d
Author: Pan Li <pan2...@intel.com>
Date:   Wed Sep 25 16:00:27 2024 +0800

    RISC-V: Cleanup debug code for SAT_* testcases [NFC]
    
    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...@intel.com>

Diff:
---
 gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h 
b/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h
index 7578453e944f..a7e0d9886260 100644
--- a/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h
+++ b/gcc/testsuite/gcc.target/riscv/scalar_sat_binary_run_xxx.h
@@ -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;

Reply via email to