[Bug debug/81936] New: ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 23 08:28:00 GMT 2017


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

            Bug ID: 81936
           Summary: ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

There are 172 new ICEs in libgomp testsuite (x86_64 with nvptx offloading):
...
$ grep 'internal compiler error' libgomp.sum | wc -l
172
...

F.i.:
...
FAIL: libgomp.c/pr66714.c (internal compiler error)
...

In more detail:
...
during IPA pass: pure-const
libgomp/testsuite/libgomp.c/pr66714.c: In function 'fn3._omp_fn.1':
libgomp/testsuite/libgomp.c/pr66714.c:17:1: internal compiler error: in
dwarf2out_die_ref_for_decl, at dwarf2out.c:5543
0x9006f6 dwarf2out_die_ref_for_decl
        gcc/dwarf2out.c:5542
0xb9d803 lto_write_tree_1
        gcc/lto-streamer-out.c:422
0xba8977 lto_write_tree
        gcc/lto-streamer-out.c:448
0xba8977 lto_output_tree_1
        gcc/lto-streamer-out.c:482
xba8977 DFS::DFS(output_block*, tree_node*, bool, bool, bool)
        gcc/lto-streamer-out.c:669
0xba8ceb lto_output_tree(output_block*, tree_node*, bool, bool)
        gcc/lto-streamer-out.c:1632
0xfa5db5 streamer_write_chain(output_block*, tree_node*, bool)
        gcc/tree-streamer-out.c:505
0xba5ce6 output_function
        gcc/lto-streamer-out.c:2084
0xba5ce6 lto_output()
        gcc/lto-streamer-out.c:2378
0xc1bb6e write_lto
        gcc/passes.c:2608
0xc1f356 ipa_write_summaries_1
        gcc/passes.c:2672
0xc1f356 ipa_write_summaries()
        gcc/passes.c:2732
0x887464 ipa_passes
        gcc/cgraphunit.c:2376
0x887464 symbol_table::compile()
        gcc/cgraphunit.c:2477
0x889793 symbol_table::finalize_compilation_unit()
        gcc/cgraphunit.c:2631
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
...


More information about the Gcc-bugs mailing list