[Bug middle-end/21291] [4.0/4.1 Regression] can't find a register in class 'GENERAL_REGS' while reloading 'asm'

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 4 20:48:00 GMT 2005


------- Additional Comments From rth at gcc dot gnu dot org  2005-08-04 20:48 -------
The reason that we're rejecting the "m" alternative is that we've expanded
"+mr"(blen) to 

              (set (reg/v:SI 60 [ blen.25 ])
                (asm_operands:SI ("") ("=mr") 2 [
                        (mem/i:SI (plus:SI (reg/f:SI 16 argp)
                                (const_int 16 [0x10])) [0 d+0 S4 A32])
                        (reg/v/f:SI 65 [ a ])
                        (reg/v/f:SI 67 [ b ])
                        (reg/v:SI 68 [ blen ])

Note reg 60 as output and reg 68 as input.  Probably out-of-ssa is 
missing the fact that we'd like these variables to be unified.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amacleod at redhat dot com


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



More information about the Gcc-bugs mailing list