https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86872
Bug ID: 86872 Summary: [9 Regression] LTO bootstrap failed with profiledbootstrap Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- On x86-64, r263300 gave In function ‘gimple_simplify_32’: lto1: internal compiler error: in linemap_check_ordinary, at libcpp/include/line-map.h:587 0x5e2991 ??? ../../src-trunk/libcpp/include/line-map.h:587 0x93aeae ??? ../../src-trunk/libcpp/line-map.c:754 0x1d653e2 ??? ../../src-trunk/gcc/lto-streamer-in.c:194 0x1d6661f ??? ../../src-trunk/gcc/lto-streamer-in.c:304 0xbc5f88 ??? ../../src-trunk/gcc/gimple-streamer-in.c:111 0x91d3c7 lto_read_body_or_constructor(lto_file_decl_data*, symtab_node*, char const*, lto_section_type) [clone .isra.95] [clone .constprop.697] ../../src-trunk/gcc/lto-streamer-in.c:1092 0x22631cd ??? ../../src-trunk/gcc/lto-streamer-in.c:1343 0x226e950 ??? ../../src-trunk/gcc/cgraphunit.c:2086 0x227fa1b ??? ../../src-trunk/gcc/cgraphunit.c:2254 0x23a9564 ??? ../../src-trunk/gcc/lto/lto.c:3426 0x1ab4a59 ??? ../../src-trunk/gcc/toplev.c:455 0x1ab7d67 ??? ../../src-trunk/gcc/toplev.c:2161 0x904cca ??? ../../src-trunk/gcc/main.c:39 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. when GCC is configured with --with-build-config=bootstrap-lto --disable-werror and built with profiledbootstrap. r263286 is OK.