The #elif defined ... #define DO_TEST 0 exceptions are accumulating.
Maybe the DO_TEST = 1 case should be the exception...
Committed.

gcc/testsuite:
        * gcc.c-torture/execute/20101011-1.c (DO_TEST): Define as 0 for CRIS.

Index: gcc.c-torture/execute/20101011-1.c
===================================================================
--- gcc.c-torture/execute/20101011-1.c  (revision 189727)
+++ gcc.c-torture/execute/20101011-1.c  (working copy)
@@ -36,6 +36,9 @@
   /* Attempting to trap division-by-zero in this way isn't likely to work on 
      bare-metal m68k systems.  */
 # define DO_TEST 0
+#elif defined (__CRIS__)
+  /* No SIGFPE for CRIS integer division.  */
+# define DO_TEST 0
 #else
 # define DO_TEST 1
 #endif

brgds, H-P

Reply via email to