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

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

From-SVN: r131655

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

index aada0be75041a7f1c7367b1ad48ab2173d30d1bb..b714c3f64644dcfed8080a7a942ddb57b0f54556 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.dg/struct-ret-3.c: New test.
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;