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 c++/58477] New: ice in cgraph_speculative_call_info


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

            Bug ID: 58477
           Summary: ice in cgraph_speculative_call_info
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 30868
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30868&action=edit
gzipped C++ source code

I just tried to compile package oxygen-gtk2-1.4.0 with gcc 4.9 trunk
dated 20130917. It said

/home/dcb/rpmbuild/BUILD/oxygen-gtk2-1.4.0/src/oxygencolorutils.cpp:148:67:
inte
rnal compiler error: Segmentation fault
             m_backgroundTopColorCache.insert( color.toInt(), out );
                                                                   ^
0xb0413f crash_signal
    ../../src/trunk/gcc/toplev.c:335
0x7e8f14 cgraph_speculative_call_info(cgraph_edge*, cgraph_edge*&,
cgraph_edge*&
, ipa_ref*&)
    ../../src/trunk/gcc/cgraph.c:1125
0x7e9ffe cgraph_redirect_edge_call_stmt_to_callee(cgraph_edge*)
    ../../src/trunk/gcc/cgraph.c:1308
0xb5b14e redirect_all_calls(copy_body_data*, basic_block_def*)
    ../../src/trunk/gcc/tree-inline.c:2326
0xb6162f copy_cfg_body
    ../../src/trunk/gcc/tree-inline.c:2458
0xb6162f copy_body
    ../../src/trunk/gcc/tree-inline.c:2625
0xb66983 expand_call_inline
    ../../src/trunk/gcc/tree-inline.c:4234
0xb66983 gimple_expand_calls_inline
    ../../src/trunk/gcc/tree-inline.c:4341
0xb66983 optimize_inline_calls(tree_node*)
    ../../src/trunk/gcc/tree-inline.c:4496
0xf8758b inline_transform(cgraph_node*)
    ../../src/trunk/gcc/ipa-inline-transform.c:436
0xa58139 execute_one_ipa_transform_pass
    ../../src/trunk/gcc/passes.c:2039
0xa58139 execute_all_ipa_transforms()
    ../../src/trunk/gcc/passes.c:2079
0x7f1990 expand_function
    ../../src/trunk/gcc/cgraphunit.c:1743
0x7f39d6 expand_all_functions
    ../../src/trunk/gcc/cgraphunit.c:1855
0x7f39d6 compile()
    ../../src/trunk/gcc/cgraphunit.c:2192
0x7f3fb9 finalize_compilation_unit()
    ../../src/trunk/gcc/cgraphunit.c:2269
0x5ff47d cp_write_global_declarations()
    ../../src/trunk/gcc/cp/decl2.c:4360
Please submit a full bug report,
with preprocessed source if appropriate.

Preprocessed source code attached. Flag -O3 required.


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