aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr21291.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-08-25 15:28:20 +0000
committerJakub Jelinek <jakub@redhat.com>2008-08-25 15:28:20 +0000
commit1203357e1d15ae7d3bbc023230b395279026c424 (patch)
tree17f4270b6875f12d9be6966fcfb775a351f13545 /gcc/testsuite/gcc.target/i386/pr21291.c
parent562741357bda00dc3f48d91f7460ffe73b7db941 (diff)
svn merge -r130397:139561 svn+ssh://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_1-branchredhat/fc6-4_1-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/redhat/fc6-4_1-branch@139562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr21291.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/pr21291.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr21291.c b/gcc/testsuite/gcc.target/i386/pr21291.c
index acfc43df67f..f7348bdf6e1 100644
--- a/gcc/testsuite/gcc.target/i386/pr21291.c
+++ b/gcc/testsuite/gcc.target/i386/pr21291.c
@@ -1,4 +1,9 @@
-/* { dg-do compile } */
+/* The asm has 2 "r" in/out operands, 1 earlyclobber "r" output, 1 "r"
+ input and 2 fixed "r" clobbers (eax and edx), so there are a total of
+ 6 registers that must not conflict. Add to that the PIC register,
+ the frame pointer, and the stack pointer, and we've run out of
+ registers on 32-bit targets. */
+/* { dg-do compile { target { { ! ilp32 } || nonpic } } } */
/* { dg-options "-O" } */
typedef unsigned long bngdigit;