]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Test: Move target independent test cases to gcc.dg/torture
authorPan Li <pan2.li@intel.com>
Tue, 11 Jun 2024 02:56:23 +0000 (10:56 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 13 Jun 2024 02:21:21 +0000 (10:21 +0800)
The test cases of pr115387 are target independent,  at least x86
and riscv are able to reproduce.  Thus,  move these cases to
the gcc.dg/torture.

The below test suites are passed.
1. The rv64gcv fully regression test.
2. The x86 fully regression test.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/pr115387-1.c: Move to...
* gcc.dg/torture/pr115387-1.c: ...here.
* gcc.target/riscv/pr115387-2.c: Move to...
* gcc.dg/torture/pr115387-2.c: ...here.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/testsuite/gcc.dg/torture/pr115387-1.c [moved from gcc/testsuite/gcc.target/riscv/pr115387-1.c with 92% similarity]
gcc/testsuite/gcc.dg/torture/pr115387-2.c [moved from gcc/testsuite/gcc.target/riscv/pr115387-2.c with 84% similarity]

similarity index 92%
rename from gcc/testsuite/gcc.target/riscv/pr115387-1.c
rename to gcc/testsuite/gcc.dg/torture/pr115387-1.c
index a1c926977c42a2e6872f205c07d005d490193011..d94e935fadec115740ba8e831fdde2bebc50ec60 100644 (file)
@@ -1,6 +1,5 @@
 /* Test there is no ICE when compile.  */
 /* { dg-do compile } */
-/* { dg-options "-march=rv64gcv -mabi=lp64d -O3" } */
 
 #define PRINTF_CHK 0x34
 
similarity index 84%
rename from gcc/testsuite/gcc.target/riscv/pr115387-2.c
rename to gcc/testsuite/gcc.dg/torture/pr115387-2.c
index 7183bf18dfd51e63855de75e0386f512548be5e8..9e93024b45ce2def6b6e7cffc345d5aed1dc4457 100644 (file)
@@ -1,6 +1,5 @@
 /* Test there is no ICE when compile.  */
 /* { dg-do compile } */
-/* { dg-options "-march=rv64gcv -mabi=lp64d -O3" } */
 
 #include <stddef.h>
 #include <stdint-gcc.h>