OSDN Git Service

gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jan 2011 21:55:03 +0000 (21:55 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jan 2011 21:55:03 +0000 (21:55 +0000)
* gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16
Linux-based targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168875 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20101011-1.c

index d95034f..5caf72c 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-16  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16
+       Linux-based targets.
+
 2011-01-13  Jan Hubicka  <jh@suse.cz>
 
        PR tree-optimization/47276 
index 0779405..7180e68 100644 (file)
      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