[Bug c++/61603] New: ICE in gcc/gcc/toplev.c:337

larsbj at gullik dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 25 10:27:00 GMT 2014


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

            Bug ID: 61603
           Summary: ICE in gcc/gcc/toplev.c:337
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: larsbj at gullik dot net

Created attachment 33004
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33004&action=edit
Preprosessed file

When compiling a test file consisting of only a

  #include <boost/asio.hpp>

line. I get the following ICE:

g++ -c test.cc
In file included from /usr/include/boost/asio/write_at.hpp:650:0,
                 from /usr/include/boost/asio.hpp:119,
                 from test.cc:1:
/usr/include/boost/asio/impl/write_at.hpp:823:1: internal compiler error:
Segmentation fault
 } // namespace boost
 ^
0x9677cf crash_signal
        ../../gcc/gcc/toplev.c:337
0x6dbb23 insert_to_assembler_name_hash
        ../../gcc/gcc/symtab.c:202
0x6dbc31 symtab_initialize_asm_name_hash()
        ../../gcc/gcc/symtab.c:387
0x6dbd8c symtab_initialize_asm_name_hash()
        ../../gcc/gcc/symtab.c:411
0x6dbd8c symtab_node_for_asm(tree_node const*)
        ../../gcc/gcc/symtab.c:400
0x6e4c58 handle_alias_pairs
        ../../gcc/gcc/cgraphunit.c:1152
0x6e7e5c finalize_compilation_unit()
        ../../gcc/gcc/cgraphunit.c:2320
0x5989ab cp_write_global_declarations()
        ../../gcc/gcc/cp/decl2.c:4647


This is with:
# gcc --version
gcc (GCC) 4.10.0 20140624 (experimental)



More information about the Gcc-bugs mailing list