[Bug ipa/89330] IPA inliner touches released cgraph_edges

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Mon Jul 29 18:32:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #18 from Andreas Schwab <schwab@linux-m68k.org> ---
This breaks bootstrap with --enable-checking=release.

during IPA pass: cp
../../gcc/gcc/tree-ssa-sccvn.c:7307:1: internal compiler error: in
speculative_call_info, at cgraph.c:1114
 7307 | }
      | ^
0xc0dc0e cgraph_edge::speculative_call_info(cgraph_edge*&, cgraph_edge*&,
ipa_ref*&)
        ../../gcc/gcc/cgraph.c:1114
0xc0ddbb cgraph_edge::resolve_speculation(tree_node*)
        ../../gcc/gcc/cgraph.c:1155
0xc0e025 cgraph_edge::make_direct(cgraph_node*)
        ../../gcc/gcc/cgraph.c:1215
0xefefaa ipa_make_edge_direct_to_target(cgraph_edge*, tree_node*, bool)
        ../../gcc/gcc/ipa-prop.c:2978
0x1eb40da ipcp_discover_new_direct_edges
        ../../gcc/gcc/ipa-cp.c:3348
0x1eb55b9 create_specialized_node
        ../../gcc/gcc/ipa-cp.c:3913
0x1eb731f decide_whether_version_node
        ../../gcc/gcc/ipa-cp.c:4803
0x1eb77c7 ipcp_decision_stage
        ../../gcc/gcc/ipa-cp.c:4915
0x1eb7fd6 ipcp_driver
        ../../gcc/gcc/ipa-cp.c:5092
0x1eb81b8 execute
        ../../gcc/gcc/ipa-cp.c:5183


More information about the Gcc-bugs mailing list