This patch adjusts one of the c-torture tests to account for the possible lack of divide-by-zero exceptions on certain moxie targets.
Committed. gcc/testsuite/ 2018-10-14 Anthony Green <gr...@moxielogic.com> * gcc.c-torture/execute/20101011-1.c: Adjust for moxie. Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/20101011-1.c (revision 265146) +++ gcc/testsuite/gcc.c-torture/execute/20101011-1.c (working copy) @@ -97,6 +97,9 @@ /* 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