From: Kaveh R. Ghazi Date: Sat, 19 Jan 2008 18:49:34 +0000 (+0000) Subject: Backport: X-Git-Tag: prereleases/gcc-4.2.3-rc1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf1200f35fd72a60ae78ffe1a222df52a34e9c61;p=thirdparty%2Fgcc.git Backport: 2007-03-21 Richard Sandiford * gcc.target/i386/pr21291.c: Require nonpic or ! ilp32. From-SVN: r131655 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aada0be75041..b714c3f64644 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2008-01-19 Kaveh R. Ghazi + + Backport: + 2007-03-21 Richard Sandiford + + * gcc.target/i386/pr21291.c: Require nonpic or ! ilp32. + 2008-01-17 Eric Botcazou * gcc.dg/struct-ret-3.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/pr21291.c b/gcc/testsuite/gcc.target/i386/pr21291.c index acfc43df67f9..f7348bdf6e19 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;