This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Yet another gcc.c-torture/execute/20101011-1.c DO_TEST 0
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 21 Jul 2012 00:25:29 +0200
- Subject: 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