This is the mail archive of the 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/24683] [3.4/4.0/4.1 Regression] ICE in in extract_insn, at recog.c:2084

------- Comment #12 from steven at gcc dot gnu dot org  2005-11-05 16:55 -------
Breakpoint 4, emit_move_insn (x=0x2a95a69320, y=0x2a9594c820) at expr.c:3140
3140      enum machine_mode mode = GET_MODE (x);
(gdb) p debug_rtx(x)
(reg:DI 68)
$10 = void
(gdb) p debug_rtx(y)
(const:DI (plus:DI (symbol_ref/f:DI ("*.LC0") [flags 0x2] <string_cst
        (const_int 4294967233 [0xffffffc1])))
$11 = void
(gdb) bt
#0  emit_move_insn (x=0x2a95a69320, y=0x2a9594c820) at expr.c:3140
#1  0x0000000000a6e5a9 in move_movables (loop=0xe72f80, movables=0xe766d8,
    insn_count=9) at loop.c:2365
#2  0x0000000000a6c59a in scan_loop (loop=0xe72f80, flags=0) at loop.c:1522
#3  0x0000000000a6a1a1 in loop_optimize (f=0x2a9589b940, dumpfile=0x0, flags=0)
at loop.c:909
#4  0x0000000000a81e30 in rest_of_handle_loop_optimize () at loop.c:11784
#5  0x0000000000946f77 in execute_one_pass (pass=0xd9ae80) at passes.c:827

A bit further down:

3185      last_insn = emit_move_insn_1 (x, y);
(gdb) disab 4
(gdb) next
3187      if (y_cst && REG_P (x)
(gdb) p debug_rtx(last_insn)
(insn 60 59 0 (set (reg:DI 68)
        (plus:DI (reg/f:DI 69)
            (const_int 4294967233 [0xffffffc1]))) -1 (nil)
$12 = void
(gdb) p recog_memoized (last_insn)
$13 = -1
(gdb) next       
3191        set_unique_reg_note (last_insn, REG_EQUAL, y_cst);
3193      return last_insn;
3194    }

So there's your wrong instruction, produced by emit_move_insn itself... :-(


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