This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Skip 20101011-1.c for MIPS16 Linux-based targets
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 16 Jan 2011 21:55:03 +0000
- Subject: [committed] Skip 20101011-1.c for MIPS16 Linux-based targets
...as explained in the comment.
Tested on mips64-linux-gnu and applied.
Richard
gcc/testsuite/
* gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16
Linux-based targets.
Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/20101011-1.c 2011-01-16 21:32:28.000000000 +0000
+++ gcc/testsuite/gcc.c-torture/execute/20101011-1.c 2011-01-16 21:53:10.000000000 +0000
@@ -18,6 +18,10 @@
true of other bare-metal environments, so restrict the test to
systems that use the Linux kernel. */
# define DO_TEST 0
+#elif defined (__mips16) && defined(__linux__)
+ /* Not all Linux kernels deal correctly the breakpoints generated by
+ MIPS16 divisions by zero. They show up as a SIGTRAP instead. */
+# define DO_TEST 0
#else
# define DO_TEST 1
#endif