From: YunQiang Su Date: Mon, 15 Jan 2024 04:35:27 +0000 (+0800) Subject: MIPS/testsuite: Add -mno-abicalls option to unaligned-2.c X-Git-Tag: basepoints/gcc-15~2902 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=65678b2bae5a16396b87266bb1ddfca2a47fa7e8;p=gcc.git MIPS/testsuite: Add -mno-abicalls option to unaligned-2.c PIC/abicalls option will generate some GOT operation, and some `ld/sd` instructions are used. Let's skip them. gcc/testsuite * gcc.target/mips/unaligned-2.c: Add -mno-abicalls option. --- diff --git a/gcc/testsuite/gcc.target/mips/unaligned-2.c b/gcc/testsuite/gcc.target/mips/unaligned-2.c index 8679afac4000..bd4c6c7f26a3 100644 --- a/gcc/testsuite/gcc.target/mips/unaligned-2.c +++ b/gcc/testsuite/gcc.target/mips/unaligned-2.c @@ -1,4 +1,4 @@ -/* { dg-options "isa_rev>=6 -mgp64" } */ +/* { dg-options "isa_rev>=6 -mgp64 -mno-abicalls" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ /* { dg-final { scan-assembler-not "\tsb\t" } } */ /* { dg-final { scan-assembler-not "\tsh\t" } } */