This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]