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++/58530] New: crash in get_combined_adhoc_loc


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

            Bug ID: 58530
           Summary: crash in get_combined_adhoc_loc
           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 30896
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30896&action=edit
gzipped C++ source code

I just tried to compile package activemq-cpp-3.7.1-1 with gcc 4.9 trunk
dated 20130925. It said

activemq/commands/ActiveMQBytesMessage.cpp:91:39: internal compiler error:
Aborted
     message->copyDataStructure( this );
                                       ^
0xb0715f crash_signal
    ../../src/trunk/gcc/toplev.c:335
0x1022779 get_combined_adhoc_loc(line_maps*, unsigned int, void*)
    ../../src/trunk/libcpp/line-map.c:106
0xb6417c copy_phis_for_bb
    ../../src/trunk/gcc/tree-inline.c:2093
0xb6417c copy_cfg_body
    ../../src/trunk/gcc/tree-inline.c:2446
0xb6417c copy_body
    ../../src/trunk/gcc/tree-inline.c:2625
0xb69823 expand_call_inline
    ../../src/trunk/gcc/tree-inline.c:4234
0xb69823 gimple_expand_calls_inline
    ../../src/trunk/gcc/tree-inline.c:4341
0xb69823 optimize_inline_calls(tree_node*)
    ../../src/trunk/gcc/tree-inline.c:4496
0xf8a38b inline_transform(cgraph_node*)
    ../../src/trunk/gcc/ipa-inline-transform.c:436
0xa5b199 execute_one_ipa_transform_pass
    ../../src/trunk/gcc/passes.c:2039
0xa5b199 execute_all_ipa_transforms()
    ../../src/trunk/gcc/passes.c:2079
0x7f3df0 expand_function
    ../../src/trunk/gcc/cgraphunit.c:1743
0x7f5e4e expand_all_functions
    ../../src/trunk/gcc/cgraphunit.c:1855
0x7f5e4e compile()
    ../../src/trunk/gcc/cgraphunit.c:2192
0x7f6439 finalize_compilation_unit()
    ../../src/trunk/gcc/cgraphunit.c:2269
0x60083d cp_write_global_declarations()
    ../../src/trunk/gcc/cp/decl2.c:4360
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.

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]