summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr39911.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr39911.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/pr39911.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr39911.c b/gcc/testsuite/gcc.target/i386/pr39911.c
index fe63ff005fe..8a78c0a289f 100644
--- a/gcc/testsuite/gcc.target/i386/pr39911.c
+++ b/gcc/testsuite/gcc.target/i386/pr39911.c
@@ -33,11 +33,13 @@ bar3 ()
asm volatile ("mov%z0 %1, %0": "=r" (foo): "ir" (-23));
asm volatile ("add%z0 %1, %0": "+r" (foo): "ir" (23));
+#ifndef __x86_64__
if (sizeof (void *) == sizeof (int))
{
asm volatile ("pop%z0 %0": "=m" (foo));
asm volatile ("pop%z0 %0": "=r" (foo));
}
+#endif
}
void