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 debug/24908] ICE in dwarf2out for cpu2000 with -funroll-loops -fno-tree-copyrename



------- 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


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