------- Comment #5 from ubizjak at gmail dot com  2008-02-12 21:11 -------
(In reply to comment #4)
> I see the same problem at any level of optimization I have tried on
> i686-apple-darwin9 for the test case gcc.target/i386/asm-3.c:
> 
> [ibook-dhum] f90/bug% /opt/gcc/gcc4.3w/bin/gcc -O0
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/asm-3.c
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/asm-3.c: In function 'main':
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/asm-3.c:19: error: can't 
> find
> a register in class 'GENERAL_REGS' while reloading 'asm'
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.target/i386/asm-3.c:19: error: 'asm'
> operand has impossible constraints
> 
> The failure was present for rev. 130218 (see
> http://gcc.gnu.org/ml/gcc-testresults/2007-11/msg00861.html).
> 

This test can't run on 32bit x86 PIC targets due to register starvation.
dg-skip-if directive was fixed to include all PIC targets with !nonpic target
selector.


-- 


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

Reply via email to