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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Unfortunately this wasn't fixed:
during IPA pass: modref
pr126017.C:16:1: internal compiler error: tree code ‘lang_type’ is not
supported in LTO streams
   16 | }
      | ^
0x35b9546 internal_error(char const*, ...)
        ../../gcc/diagnostic-global-context.cc:787
0x107ddd2 DFS::DFS(output_block*, tree_node*, bool, bool, bool)
        ../../gcc/lto-streamer-out.cc:1101
0x1085a4c lto_output_tree(output_block*, tree_node*, bool, bool)
        ../../gcc/lto-streamer-out.cc:2076
0x1089077 write_global_stream
        ../../gcc/lto-streamer-out.cc:3224
0x10891b0 lto_output_decl_state_streams(output_block*, lto_out_decl_state*)
        ../../gcc/lto-streamer-out.cc:3271
0x108a517 produce_asm_for_decls()
        ../../gcc/lto-streamer-out.cc:3701
0x1187d97 write_lto
        ../../gcc/passes.cc:2784
0x1187fb9 ipa_write_summaries_1
        ../../gcc/passes.cc:2847
0x1188268 ipa_write_summaries()
        ../../gcc/passes.cc:2907
0xb7c043 ipa_passes
        ../../gcc/cgraphunit.cc:2292
0xb7c297 symbol_table::compile()
        ../../gcc/cgraphunit.cc:2367
0xb7c8a4 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.cc:2626
./cc1plus -quiet -std=c++26 -freflection pr126017.ii -flto
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to