Committed, MMIX: Another target apologist blurb in gcc.c-torture/execute/20101011-1.c
diff mbox

Message ID
State New
Headers show

Commit Message

Hans-Peter Nilsson May 11, 2014, 8:49 p.m. UTC
That test now looks a bit silly with the dozen+1 exceptions.  But, I
guess with just this one(?) test there's little sense in adding an
effective target to describe that division by 0 doesn't signal.  Other
than keeping it in just one place, of course.  But, committed.

	* gcc.c-torture/execute/20101011-1.c [__MMIX__] (DO_TEST): Define as 0.

brgds, H-P

diff mbox

Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c
--- gcc/testsuite/gcc.c-torture/execute/20101011-1.c	(revision 210305)
+++ gcc/testsuite/gcc.c-torture/execute/20101011-1.c	(working copy)
@@ -42,6 +42,10 @@ 
 #elif defined (__CRIS__)
   /* No SIGFPE for CRIS integer division.  */
 # define DO_TEST 0
+#elif defined (__MMIX__)
+/* By default we emit a sequence with DIVU, which "never signals an
+   exceptional condition, even when dividing by zero".  */
+# define DO_TEST 0
 #elif defined (__arc__)
   /* No SIGFPE for ARC integer division.  */
 # define DO_TEST 0