This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-20 00:09 -------
This looks like a reload (or a target reload) issue:
We have the following RTL:
(insn 4097 4096 4098 236 (set (reg:BI 2598)
        (and:BI (ne:BI (reg/v:SI 477 [ bNotLastFrame ])
                (const_int 0 [0x0]))
            (subreg:BI (reg:SI 2934) 0))) 66 {*cmpsi_and_0} (nil)
    (nil))

Note the subreg here.  We exand it to:
(insn 5994 4096 5995 236 (set (reg:SI 2 r2)        (reg:SI 131 f3 [2934])) 4 {*movsi_internal} (nil)    (nil)) 
(insn 5995 5994 5996 236 (set (reg:SI 262 p6)        (reg:SI 2 r2)) 4 {*movsi_internal} (nil)     (nil))
(insn 5996 5995 4097 236 (set (reg:SI 2 r2)
        (reg/v:SI 148 f20 [orig:477 bNotLastFrame ] [477])) 4 {*movsi_internal} (nil)     (nil))(insn 
4097 5996 4098 236 (set (reg:BI 262 p6 [2598])        (and:BI (ne:BI (reg:SI 2 r2)                 (const_int 0 
[0x0]))            (reg:BI 262 p6))) 66 {*cmpsi_and_0} (nil)     (nil))

So either we have a reload issue or we have a target issue.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-20 00:09:20
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]