[Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Fri Jan 28 13:53:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174

--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-01-28 13:04:36 UTC ---
> --- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-28 12:45:43 UTC ---
>> You're right: I somehow misread the PR and though the test had already
>> been introduced in november last year.
>
> It did pass with GCC 4.3 on Solaris too so this is a regression.  Can you XFAIL
> it on Solaris for the time being?

Sure.  The following patch does this:

2011-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

    * gcc.target/i386/asm-6.c: XFAIL on i?86-pc-solaris2.1[0-9] && ilp32.

diff -r a1670fd752ff gcc/testsuite/gcc.target/i386/asm-6.c
--- a/gcc/testsuite/gcc.target/i386/asm-6.c    Thu Jan 27 20:26:26 2011 +0100
+++ b/gcc/testsuite/gcc.target/i386/asm-6.c    Fri Jan 28 14:03:13 2011 +0100
@@ -3,6 +3,7 @@

 /* { dg-do compile } */
 /* { dg-options "-O2 -fpic" { target fpic } } */
+/* { dg-xfail-if "" { i?86-pc-solaris2.1[0-9] && ilp32 } } */

 int f0 (int, int, int, int, int);
 int f1 (void);

Ok for mainline (I'll post to gcc-patches anyway)?

    Rainer



More information about the Gcc-bugs mailing list