20101011-1.c: Skip test for MIPS16 Linux-based targets.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 16 Jan 2011 21:55:03 +0000 (21:55 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 16 Jan 2011 21:55:03 +0000 (21:55 +0000)
gcc/testsuite/
* gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16
Linux-based targets.

From-SVN: r168875

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