]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat, 19 Jan 2008 19:06:15 +0000 (19:06 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sat, 19 Jan 2008 19:06:15 +0000 (19:06 +0000)
2007-03-21  Richard Sandiford  <richard@codesourcery.com>

* gcc.target/i386/pr21291.c: Require nonpic or ! ilp32.

From-SVN: r131656

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr21291.c

index 0e47d83d94e1e5d041b932503647a9df17bbef5f..3663042fc22ad8d49068d226464cb6f136680aa2 100644 (file)
@@ -1,3 +1,10 @@
+2008-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       Backport:
+       2007-03-21  Richard Sandiford  <richard@codesourcery.com>
+        
+       * gcc.target/i386/pr21291.c: Require nonpic or ! ilp32.
+
 2008-01-17  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.c-torture/compile/20080114-1.c: Use empty asm statements.
index acfc43df67f94b0f1e3e8ed0516af85929dae3ee..f7348bdf6e19761ba98650257e97348415866401 100644 (file)
@@ -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;