Message ID | 20240925081026.2732835-1-pan2.li@intel.com |
---|---|
State | New |
Headers | show |
Series | [v1] RISC-V: Cleanup debug code for SAT_* testcases [NFC] | expand |
OK juzhe.zhong@rivai.ai From: pan2.li Date: 2024-09-25 16:10 To: gcc-patches CC: juzhe.zhong; kito.cheng; jeffreyalaw; rdapp.gcc; Pan Li Subject: [PATCH v1] RISC-V: Cleanup debug code for SAT_* testcases [NFC] From: Pan Li <pan2.li@intel.com> 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 | 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 7578453e944..a7e0d988626 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;
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 7578453e944..a7e0d988626 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;