diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-10-31 14:15:40 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2010-10-31 14:15:40 +0000 |
commit | b034e301bb14b789ba8fa7b45a7c36b7c967efb6 (patch) | |
tree | cca104803c617a8ef9268921dcac9afb914347a7 /gcc | |
parent | 0502fb85f3f8d36dc1760798bb3d14da4f03cb3e (diff) | |
download | gcc-b034e301bb14b789ba8fa7b45a7c36b7c967efb6.zip gcc-b034e301bb14b789ba8fa7b45a7c36b7c967efb6.tar.gz gcc-b034e301bb14b789ba8fa7b45a7c36b7c967efb6.tar.bz2 |
20101011-1.c: Skip for MIPS unless running the Linux kernel.
gcc/testsuite/
* gcc.c-torture/execute/20101011-1.c: Skip for MIPS unless running
the Linux kernel.
From-SVN: r166107
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20101011-1.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3ae57c7..c3c75b2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-10-31 Richard Sandiford <rdsandiford@googlemail.com> + + * gcc.c-torture/execute/20101011-1.c: Skip for MIPS unless running + the Linux kernel. + 2010-10-30 Janus Weil <janus@gcc.gnu.org> PR fortran/44917 diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c index 776a159..0779405 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c @@ -12,6 +12,12 @@ #elif defined (__sh__) /* On SH division by zero does not 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 + true of other bare-metal environments, so restrict the test to + systems that use the Linux kernel. */ +# define DO_TEST 0 #else # define DO_TEST 1 #endif |