summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/memset-strategy-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/memset-strategy-1.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/memset-strategy-1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/memset-strategy-1.c b/gcc/testsuite/gcc.target/i386/memset-strategy-1.c
index d1b97c5df10..c249d1e6e88 100644
--- a/gcc/testsuite/gcc.target/i386/memset-strategy-1.c
+++ b/gcc/testsuite/gcc.target/i386/memset-strategy-1.c
@@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -march=atom -mmemset-strategy=libcall:-1:align" } */
-/* { dg-final { scan-assembler-times "memset" 2 } } */
+/* { dg-final { scan-assembler-times "memset" 3 { target elf } } } */
+/* { dg-final { scan-assembler-times "memset" 2 { target { ! elf } } } } */
char a[2048];
void t (void)