Commit 049f5ef9 by Anthony Green Committed by Anthony Green

This patch adjusts one of the c-torture tests to account for the possible lack…

This patch adjusts one of the c-torture tests to account for the possible lack of divide-by-zero exceptions on certain moxie targets.

From-SVN: r265147
parent 514d6f17
2018-10-14 Anthony Green <green@moxielogic.com>
* gcc.c-torture/execute/20101011-1.c: Adjust for moxie.
2018-10-12 Yury Gribov <tetra2005@gmail.com>
PR middle-end/81376
......
......@@ -97,6 +97,9 @@ __aeabi_idiv0 (int return_value)
/* This presently doesn't raise SIGFPE even on csky-linux-gnu, much
less bare metal. See the implementation of __divsi3 in libgcc. */
# define DO_TEST 0
#elif defined (__moxie__)
/* Not all moxie configurations may raise exceptions. */
# define DO_TEST 0
#else
# define DO_TEST 1
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment