From 5d87b98a4ae58d7e6c0dad041c72cd73b693269d Mon Sep 17 00:00:00 2001 From: Pan Li <pan2.li@intel.com> Date: Wed, 25 Sep 2024 16:00:27 +0800 Subject: [PATCH] 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.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 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; -- GitLab