Index: gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2f.c =================================================================== --- gcc-4.1.3.orig/gcc/testsuite/gcc.c-torture/execute/loop-2f.c +++ gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2f.c @@ -20,7 +20,10 @@ #endif #endif -#define MAP_START (void *)0x7fff8000 +/* Don't use 0x7fff8000 as addr >= 0x7fff8000 is invalid + * on mips32 platform + */ +#define MAP_START (void *)0x7fff0000 #define MAP_LEN 0x10000 #define OFFSET (MAP_LEN/2 - 2 * sizeof (char)); Index: gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2g.c =================================================================== --- gcc-4.1.3.orig/gcc/testsuite/gcc.c-torture/execute/loop-2g.c +++ gcc-4.1.3/gcc/testsuite/gcc.c-torture/execute/loop-2g.c @@ -20,7 +20,10 @@ #endif #endif -#define MAP_START (void *)0x7fff8000 +/* Don't use 0x7fff8000 as addr >= 0x7fff8000 is invalid + * on mips32 platform + */ +#define MAP_START (void *)0x7fff0000 #define MAP_LEN 0x10000 #define OFFSET (MAP_LEN/2 - 2 * sizeof (char));