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

            Bug ID: 97133
           Summary: [11 Regression] ICE: tree code 'bind_expr' is not
                    supported in LTO streams
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

gcc-11.0.0-alpha20200920 snapshot (g:363e7755f227656684c8e284307ceee451503ca4)
ICEs when compiling gcc/testsuite/gcc.dg/pr88701.c w/ -flto:

% gcc-11.0.0 -flto -c gcc/testsuite/gcc.dg/pr88701.c
during IPA pass: modref
gcc/testsuite/gcc.dg/pr88701.c:18:1: internal compiler error: tree code
'bind_expr' is not supported in LTO streams
   18 | }
      | ^
0xc3d22c lto_write_tree
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:554
0xc3d22c lto_output_tree_1
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:592
0xc45b49 DFS::DFS(output_block*, tree_node*, bool, bool, bool)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:892
0xc46b30 lto_output_tree(output_block*, tree_node*, bool, bool)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:1853
0xc47d7d streamer_write_chain
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:2370
0xc47d7d output_function
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:2408
0xc47d7d lto_output()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/lto-streamer-out.c:2792
0xcc6611 write_lto
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/passes.c:2621
0xcc6611 ipa_write_summaries_1
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/passes.c:2685
0xcc6611 ipa_write_summaries()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/passes.c:2740
0x96616d ipa_passes
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/cgraphunit.c:2689
0x96616d symbol_table::compile()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/cgraphunit.c:2776
0x968222 symbol_table::compile()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/cgraphunit.c:2756
0x968222 symbol_table::finalize_compilation_unit()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200920/work/gcc-11-20200920/gcc/cgraphunit.c:3021

Reply via email to