Message ID | 500618CC.3070707@codesourcery.com |
---|---|
State | New |
Headers | show |
On Jul 17, 2012, at 7:00 PM, Sandra Loosemore wrote:
> Like the subject line says; this is consistent with the existing test to bail out for MIPS bare-metal. OK for mainline?
Ok.
Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/20101011-1.c (revision 189595) +++ gcc/testsuite/gcc.c-torture/execute/20101011-1.c (working copy) @@ -32,6 +32,10 @@ /* Epiphany does not have hardware division, and the software implementation has truly undefined behaviour for division by 0. */ # define DO_TEST 0 +#elif defined (__m68k__) && !defined(__linux__) + /* Attempting to trap division-by-zero in this way isn't likely to work on + bare-metal m68k systems. */ +# define DO_TEST 0 #else # define DO_TEST 1 #endif