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

            Bug ID: 64075
           Summary: [5 Regression] ICE: in bp_pack_value, at
                    data-streamer.h:106
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com

Created attachment 34119
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34119&action=edit
Testcase

GCC 5.0.0 20141123 (experimental).

bug.c:4:1: internal compiler error: in bp_pack_value, at data-streamer.h:106
 }
 ^
0x817a447 bp_pack_value
    ../../gcc-5/gcc/data-streamer.h:105
0x893c35a bp_pack_value
    ../../gcc-5/gcc/data-streamer.h:115
0x893e94e pack_ts_function_decl_value_fields
    ../../gcc-5/gcc/tree-streamer-out.c:303
0x893e94e streamer_pack_tree_bitfields(output_block*, bitpack_d*, tree_node*)
    ../../gcc-5/gcc/tree-streamer-out.c:443
0x86045b9 lto_write_tree_1
    ../../gcc-5/gcc/lto-streamer-out.c:370
0x860ea18 lto_write_tree
    ../../gcc-5/gcc/lto-streamer-out.c:404
0x860ea18 lto_output_tree_1
    ../../gcc-5/gcc/lto-streamer-out.c:447
0x860ea18 DFS::DFS_write_tree(output_block*, DFS::sccs*, tree_node*, bool,
bool, bool)
    ../../gcc-5/gcc/lto-streamer-out.c:1448
0x860f20e DFS::DFS(output_block*, tree_node*, bool, bool, bool)
    ../../gcc-5/gcc/lto-streamer-out.c:495
0x860fca2 lto_output_tree(output_block*, tree_node*, bool, bool)
    ../../gcc-5/gcc/lto-streamer-out.c:1552
0x8603c47 write_global_stream
    ../../gcc-5/gcc/lto-streamer-out.c:2339
0x8612480 lto_output_decl_state_streams
    ../../gcc-5/gcc/lto-streamer-out.c:2386
0x8612480 produce_asm_for_decls()
    ../../gcc-5/gcc/lto-streamer-out.c:2666
0x8668ab0 write_lto
    ../../gcc-5/gcc/passes.c:2391
0x866bdd9 ipa_write_summaries_1
    ../../gcc-5/gcc/passes.c:2451
0x866bdd9 ipa_write_summaries(bool)
    ../../gcc-5/gcc/passes.c:2511
0x834d703 ipa_passes
    ../../gcc-5/gcc/cgraphunit.c:2091
0x834d703 symbol_table::compile()
    ../../gcc-5/gcc/cgraphunit.c:2187
0x834f542 symbol_table::finalize_compilation_unit()
    ../../gcc-5/gcc/cgraphunit.c:2340
0x81e0feb c_write_global_declarations()
    ../../gcc-5/gcc/c/c-decl.c:10777
Please submit a full bug report,
with preprocessed source if appropriate.


libgcc

Reply via email to