From: Anthony Green Date: Sun, 14 Oct 2018 09:21:51 +0000 (+0000) Subject: This patch adjusts one of the c-torture tests to account for the possible lack of... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049f5ef927683b45b5d02a6dd7b1169c9138f12f;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d5bdf787a38..f4c0284cf70 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-10-14 Anthony Green + + * gcc.c-torture/execute/20101011-1.c: Adjust for moxie. + 2018-10-12 Yury Gribov PR middle-end/81376 diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c index f95d900deaf..8261b796a47 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c @@ -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