Hi, inline-memcpy-3.c fails when using -mabi=n64 and -mabi=n32 as a test-run option because it does not impose a specific ABI in its test options.
As there already are variants of this test which force a specific ABI (N64 in inline-memcpy-4.c and N32 in inline-memcpy-5.c), inline-memcpy-3.c should also do so with the O32 ABI. This patch forces the O32 ABI for this test by adding "-mabi=32" to the test options. Regards, Toma gcc/testsuite/ * gcc.target/mips/inline-memcpy-3.c (dg-options): Add -mabi=32. diff --git a/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c b/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c index 3bdb28b..a449107 100644 --- a/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c +++ b/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c @@ -1,4 +1,4 @@ -/* { dg-options "-fno-common isa_rev<=5 (REQUIRES_STDLIB)" } */ +/* { dg-options "-fno-common isa_rev<=5 -mabi=32 (REQUIRES_STDLIB)" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-Os"} { "" } } */ /* { dg-final { scan-assembler-not "\tmemcpy" } } */ /* { dg-final { scan-assembler-times "swl" 8 } } */