]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/20101011-1.c
Commit of nios2 port to trunk:
[thirdparty/gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20101011-1.c
index 56b48ca72bfa23cb7748cf93ff3bd897d2585316..1952dbd70291172c19cf0d15e90b039e74688702 100644 (file)
@@ -63,6 +63,10 @@ __aeabi_idiv0 (int return_value)
 }
 #  define DO_TEST 1
 # endif
+#elif defined (__nios2__)
+  /* Nios II requires both hardware support and user configuration to
+     raise an exception on divide by zero.  */
+# define DO_TEST 0
 #else
 # define DO_TEST 1
 #endif