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 tree-optimization/55264] New: [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak


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

             Bug #: 55264
           Summary: [4.6/4.7/4.8 Regression] ICE: in
                    ipa_make_edge_direct_to_target, at ipa-prop.c:2141
                    with -O2 -fno-early-inlining -fno-weak
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 28656
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28656
preprocessed source (g++.dg/tree-ssa/pr45453.C)

Compiler output:
$ gcc -O2 -fno-early-inlining -fno-weak pr45453.ii 
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/tree-ssa/pr45453.C:16:1: internal
compiler error: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141
 }
 ^
0xa220d7 ipa_make_edge_direct_to_target(cgraph_edge*, tree_node*)
        /mnt/svn/gcc-trunk/gcc/ipa-prop.c:2141
0xa29cec try_make_edge_direct_virtual_call
        /mnt/svn/gcc-trunk/gcc/ipa-prop.c:2245
0xa29cec update_indirect_edges_after_inlining
        /mnt/svn/gcc-trunk/gcc/ipa-prop.c:2316
0xa29cec propagate_info_to_inlined_callees
        /mnt/svn/gcc-trunk/gcc/ipa-prop.c:2356
0xa29c2e propagate_info_to_inlined_callees
        /mnt/svn/gcc-trunk/gcc/ipa-prop.c:2360
0xa29f08 ipa_propagate_indirect_call_infos(cgraph_edge*, vec_t<cgraph_edge*>**)
        /mnt/svn/gcc-trunk/gcc/ipa-prop.c:2386
0x12a7864 inline_call(cgraph_edge*, bool, vec_t<cgraph_edge*>**, int*, bool)
        /mnt/svn/gcc-trunk/gcc/ipa-inline-transform.c:259
0x12a6932 inline_small_functions
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:1609
0x12a6932 ipa_inline
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:1791
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.

Tested revisions:
r193387 - crash
4.7 r191640 - crash
4.6 r191640 - crash
4.5 r191640 - OK


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