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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
LRA calls

(gdb) bt
#0  elimination_costs_in_insn (insn=0x7ffff1a30ee8)
    at /export/gnu/src/gcc/gcc/gcc/reload1.c:3694
#1  0x0000000000d0419f in calculate_elim_costs_all_insns ()
    at /export/gnu/src/gcc/gcc/gcc/reload1.c:1635
#2  0x0000000000bcb88e in ira_costs ()
    at /export/gnu/src/gcc/gcc/gcc/ira-costs.c:2100
#3  0x0000000000bc3851 in ira_build ()
    at /export/gnu/src/gcc/gcc/gcc/ira-build.c:3426
#4  0x0000000000bba081 in ira (f=0x0) at /export/gnu/src/gcc/gcc/gcc/ira.c:5306
#5  0x0000000000bba5ea in rest_of_handle_ira ()
    at /export/gnu/src/gcc/gcc/gcc/ira.c:5537
#6  0x0000000000bba635 in (anonymous namespace)::pass_ira::execute (
    this=0x2036920) at /export/gnu/src/gcc/gcc/gcc/ira.c:5566
#7  0x0000000000c9e61a in execute_one_pass (
    pass=<opt_pass* 0x2036920 "ira"(218)>)
    at /export/gnu/src/gcc/gcc/gcc/passes.c:2215
#8  0x0000000000c9e831 in execute_pass_list (
    pass=<opt_pass* 0x2036920 "ira"(218)>)
    at /export/gnu/src/gcc/gcc/gcc/passes.c:2268
#9  0x0000000000c9e862 in execute_pass_list (
    pass=<opt_pass* 0x20358a0 "*rest_of_compilation"(-1)>)
    at /export/gnu/src/gcc/gcc/gcc/passes.c:2269
#10 0x0000000000982df2 in expand_function (
---Type <return> to continue, or q <return> to quit---
    node=<cgraph_node* 0x7ffff1a0c7b0 "main">)
    at /export/gnu/src/gcc/gcc/gcc/cgraphunit.c:1763
#11 0x00000000009835fc in output_in_order ()
    at /export/gnu/src/gcc/gcc/gcc/cgraphunit.c:1958
#12 0x0000000000983c07 in compile ()
    at /export/gnu/src/gcc/gcc/gcc/cgraphunit.c:2198
#13 0x0000000000983d8c in finalize_compilation_unit ()
    at /export/gnu/src/gcc/gcc/gcc/cgraphunit.c:2280
#14 0x000000000070ed36 in cp_write_global_declarations ()
    at /export/gnu/src/gcc/gcc/gcc/cp/decl2.c:4431
#15 0x0000000000d88f3e in compile_file ()

Now INSN comes:

(gdb) call debug_rtx (insn)
(insn/f 184 3 2 2 (set (nil)
        (reg:SI 2 cx)) 86 {*movsi_internal}
     (expr_list:REG_DEAD (reg:SI 2 cx)
        (expr_list:REG_CFA_SET_VDRAP (reg:SI 171)
            (nil))))
(gdb) 

The iEG_CFA_SET_VDRAP note is out of sync.

Reply via email to