https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907
--- Comment #7 from Sam James <sjames at gcc dot gnu.org> --- Under gdb, I get: ``` during IPA pass: modref /tmp/b.ii:81:3: internal compiler error: tree code ‘ggc_freed’ is not supported in LTO streams 81 | }}; | ^ 0x555556f4ef9c internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517 0x555555857f69 lto_write_tree /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/lto-streamer-out.cc:559 0x555555857f69 lto_output_tree_1 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/lto-streamer-out.cc:597 0x5555572ff6c6 DFS::DFS(output_block*, tree_node*, bool, bool, bool) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/lto-streamer-out.cc:897 0x5555572fecdc lto_output_tree(output_block*, tree_node*, bool, bool) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/lto-streamer-out.cc:1860 0x555557248470 output_function /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/lto-streamer-out.cc:2451 0x555557248470 lto_output() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/lto-streamer-out.cc:2814 0x555557aabc15 write_lto /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:2792 0x5555573e86bd ipa_write_summaries_1 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:2858 0x5555573e86bd ipa_write_summaries() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:2914 0x555557154b89 ipa_passes /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2262 0x555557154b89 symbol_table::compile() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2337 0x555557a9f6e8 symbol_table::finalize_compilation_unit() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2589 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. [Inferior 1 (process 2499190) exited with code 04] (gdb) ```