https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97794
Bug ID: 97794 Summary: internal compiler error: tree code 'ssa_name' is not supported in LTO streams Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.kokovic at gmail dot com Target Milestone: --- GIT_DIR=/mnt/WD-Elements-25A1/src/gcc-mirror-git/gcc/.git git describe HEAD misc/first-auto-changelog-4144-gc283a711c85 Build a cross compiler for MinGW(gcc 10.2.0) Executing on host: /mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc -B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/ /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/atomic/pr65345-4.c -B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/x86_64-w64-mingw32/./libatomic/ -L/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/x86_64-w64-mingw32/./libatomic/.libs -latomic -fdiagnostics-plain-output -O2 -flto -fno-use-linker-plugin -flto-partition=none -S -o pr65345-4.s (timeout = 300) spawn -ignore SIGHUP /mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc -B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/ /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/atomic/pr65345-4.c -B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/x86_64-w64-mingw32/./libatomic/ -L/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/x86_64-w64-mingw32/./libatomic/.libs -latomic -fdiagnostics-plain-output -O2 -flto -fno-use-linker-plugin -flto-partition=none -S -o pr65345-4.s during IPA pass: modref /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/atomic/pr65345-4.c:58:1: internal compiler error: tree code 'ssa_name' is not supported in LTO streams 0x9ee43b lto_write_tree /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:554 0x9ee43b lto_output_tree_1 /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:592 0x9f51a4 DFS::DFS(output_block*, tree_node*, bool, bool, bool) /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:892 0x9f5fbb lto_output_tree(output_block*, tree_node*, bool, bool) /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:1853 0x9ede61 write_global_stream /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:2847 0x9f8906 lto_output_decl_state_streams(output_block*, lto_out_decl_state*) /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:2894 0x9f8906 produce_asm_for_decls() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:3288 0xa6ae9a write_lto /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/passes.c:2680 0xa6ae9a ipa_write_summaries_1 /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/passes.c:2741 0xa6ae9a ipa_write_summaries() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/passes.c:2797 0x77275b ipa_passes /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2207 0x77275b symbol_table::compile() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2294 0x7749c7 symbol_table::compile() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2274 0x7749c7 symbol_table::finalize_compilation_unit() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2542 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 FAIL: gcc.dg/atomic/pr65345-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error) FAIL: gcc.dg/atomic/pr65345-4.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) Excess errors: during IPA pass: modref /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/atomic/pr65345-4.c:58:1: internal compiler error: tree code 'ssa_name' is not supported in LTO streams 0x9ee43b lto_write_tree /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:554 0x9ee43b lto_output_tree_1 /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:592 0x9f51a4 DFS::DFS(output_block*, tree_node*, bool, bool, bool) /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:892 0x9f5fbb lto_output_tree(output_block*, tree_node*, bool, bool) /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:1853 0x9ede61 write_global_stream /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:2847 0x9f8906 lto_output_decl_state_streams(output_block*, lto_out_decl_state*) /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:2894 0x9f8906 produce_asm_for_decls() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/lto-streamer-out.c:3288 0xa6ae9a write_lto /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/passes.c:2680 0xa6ae9a ipa_write_summaries_1 /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/passes.c:2741 0xa6ae9a ipa_write_summaries() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/passes.c:2797 0x77275b ipa_passes /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2207 0x77275b symbol_table::compile() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2294 0x7749c7 symbol_table::compile() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2274 0x7749c7 symbol_table::finalize_compilation_unit() /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/cgraphunit.c:2542