[Bug debug/24908] ICE in dwarf2out for cpu2000 with -funroll-loops -fno-tree-copyrename

amodra at bigpond dot net dot au gcc-bugzilla@gcc.gnu.org
Wed Nov 16 23:04:00 GMT 2005



------- Comment #2 from amodra at bigpond dot net dot au  2005-11-16 23:04 -------
.ce3

(insn/f 81 80 82 0 /src/tmp/24908.c:11 (set (reg:SI 12 12)
        (reg:SI 65 lr)) -1 (nil)
    (expr_list:REG_DEAD (reg:SI 65 lr)
        (expr_list:REG_MAYBE_DEAD (const_int 0 [0x0])
            (nil))))

(insn 82 81 83 0 /src/tmp/24908.c:11 (set (reg:SI 65 lr)
        (unspec:SI [
                (const_int 0 [0x0])
            ] 7)) -1 (nil)
    (expr_list:REG_MAYBE_DEAD (const_int 0 [0x0])
        (nil)))
======

.rnreg

(insn/f 81 80 82 0 /src/tmp/24908.c:11 (set (reg:SI 26 26)
        (reg:SI 65 lr)) 282 {*movsi_internal1} (nil)
    (expr_list:REG_DEAD (reg:SI 65 lr)
        (expr_list:REG_MAYBE_DEAD (const_int 0 [0x0])
            (nil))))

(insn 82 81 83 0 /src/tmp/24908.c:11 (set (reg:SI 65 lr)
        (unspec:SI [
                (const_int 0 [0x0])
            ] 7)) 372 {load_toc_v4_pic_si} (nil)
    (expr_list:REG_MAYBE_DEAD (const_int 0 [0x0])
        (nil)))

I think the assert in dwarf2out.c is wrong, that's all.  rnreg is doing
something perfectly ok, even if possibly unnecessary, and dwarf2out gets its
knickers in a knot.


-- 

amodra at bigpond dot net dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-16 23:04:00
               date|                            |


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



More information about the Gcc-bugs mailing list