From: 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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2de7922d263937fc928a166547d54dd0efaae1e9;p=thirdparty%2Fgcc.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265147 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d5bdf787a38a..f4c0284cf709 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 f95d900deaf9..8261b796a475 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