[gcc(refs/vendors/riscv/heads/gcc-14-with-riscv-opts)] RISC-V: Cleanup debug code for SAT_* testcases [NFC]
Jeff Law
law@gcc.gnu.org
Sun Sep 29 16:36:25 GMT 2024
https://gcc.gnu.org/g:e58bd4fed07f7b095d3a8d1c442efbdd6f4901cd
commit e58bd4fed07f7b095d3a8d1c442efbdd6f4901cd
Author: Pan Li <pan2.li@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.li@intel.com>
(cherry picked from commit 5d87b98a4ae58d7e6c0dad041c72cd73b693269d)
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;
More information about the Gcc-cvs
mailing list