[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

paolo dot bonzini at lu dot unisi dot ch gcc-bugzilla@gcc.gnu.org
Fri Jul 13 09:57:00 GMT 2007



------- Comment #36 from paolo dot bonzini at lu dot unisi dot ch  2007-07-13 09:57 -------
Subject: Re:  [4.1/4.2/4.3 regression] : can't find
 a register in class 'GENERAL_REGS' while reloading 'asm'

kkojima at gcc dot gnu dot org wrote:
> ------- Comment #33 from kkojima at gcc dot gnu dot org  2007-07-12 01:11 -------
> It seems that the patch 126418 causes an ICE for gcc.dg/asm-4.c
> and the patch 126487 breaks gcc.c-torture/compile/20000804-1.c
> on 4.2 for SH.  Both failures happen only with -O0.  It looks
> ia64 testresults show similar errors:
> 
> http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00309.html
> http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00446.html

The former is easy and I have a patch.  I don't understand the latter 
instead, it looks like (on sh at least) reload is not able to make a 
valid address and it might be a latent bug.  Could anybody look at it?

Paolo


-- 


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



More information about the Gcc-bugs mailing list