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

            Bug ID: 59008
           Summary: [4.9 Regression] ICEs in
                    try_make_edge_direct_simple_call /
                    propagate_controlled_uses
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com

GCC 4.9.0 20131103 (experimental) /rev. 204338/

$ gcc -S -O2 bug.c
bug.c:29:1: internal compiler error: in try_make_edge_direct_simple_call, at
ipa-prop.c:2623
 }
 ^
0x853c6e3 try_make_edge_direct_simple_call
    ../../gcc-4.9/gcc/ipa-prop.c:2623
0x853c93a update_indirect_edges_after_inlining
    ../../gcc-4.9/gcc/ipa-prop.c:2725
0x853cb51 propagate_info_to_inlined_callees
    ../../gcc-4.9/gcc/ipa-prop.c:2792
0x853d27a ipa_propagate_indirect_call_infos(cgraph_edge*, vec<cgraph_edge*,
va_heap, vl_ptr>*)
    ../../gcc-4.9/gcc/ipa-prop.c:2954
0x8d5842f inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool)
    ../../gcc-4.9/gcc/ipa-inline-transform.c:270
0x8d564fb inline_small_functions
    ../../gcc-4.9/gcc/ipa-inline.c:1773
0x8d56d57 ipa_inline
    ../../gcc-4.9/gcc/ipa-inline.c:2015
0x8d57766 execute
    ../../gcc-4.9/gcc/ipa-inline.c:2385
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gcc -S -O2 bug.c -DICE2
bug.c:29:1: internal compiler error: in propagate_controlled_uses, at
ipa-prop.c:2888
 }
 ^
0x853d060 propagate_controlled_uses
    ../../gcc-4.9/gcc/ipa-prop.c:2888
0x853d25e ipa_propagate_indirect_call_infos(cgraph_edge*, vec<cgraph_edge*,
va_heap, vl_ptr>*)
    ../../gcc-4.9/gcc/ipa-prop.c:2953
0x8d5842f inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool)
    ../../gcc-4.9/gcc/ipa-inline-transform.c:270
0x8d564fb inline_small_functions
    ../../gcc-4.9/gcc/ipa-inline.c:1773
0x8d56d57 ipa_inline
    ../../gcc-4.9/gcc/ipa-inline.c:2015
0x8d57766 execute
    ../../gcc-4.9/gcc/ipa-inline.c:2385
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to