diff --git a/gcc/testsuite/gcc.target/aarch64/pr116258.c b/gcc/testsuite/gcc.target/aarch64/pr116258.c index e727ad4b72a..5b63de25b7b 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr116258.c +++ b/gcc/testsuite/gcc.target/aarch64/pr116258.c @@ -12,6 +12,7 @@ return (x + h(t)); } -/* { dg-final { scan-assembler-times "\\\[0\\\]" 1 } } */ +/* { dg-final { scan-assembler-times "\\\[0\\\]" 1 { target { aarch64_little_endian } } } } */ +/* { dg-final { scan-assembler-times "\\\[3\\\]" 1 { target { aarch64_big_endian } } } } */ /* { dg-final { scan-assembler-not "dup\t" } } */ /* { dg-final { scan-assembler-not "ins\t" } } */