gcc.c/torture/execute/20101011-1.c always fails on ARM, because it needs the target architecture trap in division by zero. It is implementation defined on ARM to trap division by zero. So this case should be skipped on ARM.
There are two ways to skip this test. One is using standard dejagnu options. Another is architecture macro check in test code, which is this case is using for other targets. Suggest fix: follow the later solution: ChangeLog: * gcc.c-torture/execute/20101011-1.c (DO_TEST): Skip this test on ARM. diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c index 7180e68..40c367b 100644 - a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c @@ -12,6 +12,9 @@ #elif defined (_sh_) /* On SH division by zero does not trap. */ define DO_TEST 0 +#elif defined (_arm_) + /* We cannot rely on division by zero generating a trap. */ +# define DO_TEST 0 #elif defined (_mips) && !defined(linux_) /* MIPS divisions do trap by default, but libgloss targets do not intercept the trap and raise a SIGFPE. The same is probably