public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA: Update gcc test 20101011-1.c with more targets that do not trap
@ 2015-03-12 12:10 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2015-03-12 12:10 UTC (permalink / raw)
  To: gcc-patches

Hi Guys,

  The patch below updates the 20101011-1.c test in the gcc testsuite to
  add a few more targets whose (simulated) runtime does not support
  trapping on division by zero.

  OK to apply ?

Cheers
  Nick

gcc/testsuite/ChangeLog
2015-03-12  Nick Clifton  <nickc@redhat.com>

	* gcc.c-torture/execute/20101011-1.c: Skip this test for the V850,
	MSP430, RL78 and RX targets.

Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/20101011-1.c	(revision 221346)
+++ gcc/testsuite/gcc.c-torture/execute/20101011-1.c	(working copy)
@@ -12,6 +12,18 @@
 #elif defined (__sh__)
   /* On SH division by zero does not trap.  */
 # define DO_TEST 0
+#elif defined (__v850__)
+  /* On V850 division by zero does not trap.  */
+# define DO_TEST 0
+#elif defined (__MSP430__)
+  /* On MSP430 division by zero does not trap.  */
+# define DO_TEST 0
+#elif defined (__RL78__)
+  /* On RL78 division by zero does not trap.  */
+# define DO_TEST 0
+#elif defined (__RX__)
+  /* On RX division by zero does not trap.  */
+# define DO_TEST 0
 #elif defined (__aarch64__)
   /* On AArch64 integer division by zero does not trap.  */
 # define DO_TEST 0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-12 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 12:10 RFA: Update gcc test 20101011-1.c with more targets that do not trap Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).