This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] Skip gcc.c-torture/execute/20101011-1.c on Visium
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 06 Apr 2016 17:28:37 +0200
- Subject: [testsuite] Skip gcc.c-torture/execute/20101011-1.c on Visium
- Authentication-results: sourceware.org; auth=none
I don't understand how this one slipped through the cracks last year, but the
test needs to be disabled on Visium as on a bunch of other architectures.
Tested on visium-elf, applied on the mainline and 5 branch.
2016-04-06 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/execute/20101011-1.c (__VISIUM__): Set DO_TEST to 0.
--
Eric Botcazou
diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
index e7157c5..744763f 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
@@ -30,6 +30,9 @@
#elif defined (__TMS320C6X__)
/* On TI C6X division by zero does not trap. */
# define DO_TEST 0
+#elif defined (__VISIUM__)
+ /* On Visium division by zero does not trap. */
+# define DO_TEST 0
#elif defined (__mips__) && !defined(__linux__)
/* MIPS divisions do trap by default, but libgloss targets do not
intercept the trap and raise a SIGFPE. The same is probably