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]

Yet another gcc.c-torture/execute/20101011-1.c DO_TEST 0


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


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