https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80915
Bug ID: 80915 Summary: [8 Regression] bootstrap failed with LTO Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: nathan at acm dot org Target Milestone: --- r248574 caused: /export/build/gnu/gcc/build-x86_64-linux/./prev-gcc/xg++ -B/export/build/gnu/gcc/build-x86_64-linux/./prev-gcc/ -B/usr/gcc-8.0.0/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/export/build/gnu/gcc/build-x86_64-linux/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/export/build/gnu/gcc/build-x86_64-linux/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/export/build/gnu/gcc/build-x86_64-linux/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/export/build/gnu/gcc/build-x86_64-linux/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/export/gnu/import/git/sources/gcc/libstdc++-v3/libsupc++ -L/export/build/gnu/gcc/build-x86_64-linux/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/export/build/gnu/gcc/build-x86_64-linux/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -Ic -I/export/gnu/import/git/sources/gcc/gcc -I/export/gnu/import/git/sources/gcc/gcc/c -I/export/gnu/import/git/sources/gcc/gcc/../include -I/export/gnu/import/git/sources/gcc/gcc/../libcpp/include -I/export/gnu/import/git/sources/gcc/gcc/../libdecnumber -I/export/gnu/import/git/sources/gcc/gcc/../libdecnumber/bid -I../libdecnumber -I/export/gnu/import/git/sources/gcc/gcc/../libbacktrace -S -o /tmp/x.s /export/gnu/import/git/sources/gcc/gcc/c/c-array-notation.c -flto=jobserver /export/gnu/import/git/gcc-regression/gcc/gcc/c/c-array-notation.c:1399:1: internal compiler error: tree code \u2018<invalid tree code>\u2019 is not supported in LTO streams } ^ 0x11c2036 lto_write_tree /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:420 0x11c2036 lto_output_tree_1 /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:461 0x11c2036 DFS::DFS(output_block*, tree_node*, bool, bool, bool) /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:648 0x11c2aba lto_output_tree(output_block*, tree_node*, bool, bool) /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:1610 0x11b12eb write_global_stream /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:2418 0x11b62a5 lto_output_decl_state_streams(output_block*, lto_out_decl_state*) /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:2465 0x11b62a5 produce_asm_for_decls() /export/gnu/import/git/gcc-regression/gcc/gcc/lto-streamer-out.c:2834 0x1285fba write_lto /export/gnu/import/git/gcc-regression/gcc/gcc/passes.c:2588 0x1288154 ipa_write_summaries_1 /export/gnu/import/git/gcc-regression/gcc/gcc/passes.c:2649 0x1288154 ipa_write_summaries() /export/gnu/import/git/gcc-regression/gcc/gcc/passes.c:2709 0xc7170c ipa_passes /export/gnu/import/git/gcc-regression/gcc/gcc/cgraphunit.c:2380 0xc7170c symbol_table::compile() /export/gnu/import/git/gcc-regression/gcc/gcc/cgraphunit.c:2474 0xc76333 symbol_table::finalize_compilation_unit() /export/gnu/import/git/gcc-regression/gcc/gcc/cgraphunit.c:2633 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. Makefile:1102: recipe for target 'c/c-array-notation.o' failed make[3]: *** [c/c-array-notation.o] Error 1