https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63787
Bug ID: 63787 Summary: [5 Regression] profiledbootstrap failure with bootstrap-lto Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: rguenth at gcc dot gnu.org On Linux/x86-64, configured with --prefix=/export/project/git/gcc-regression-bootstrap/master/217178/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld MAKEINFO=/usr/bin/false --enable-languages=c,c++ --enable-bootstrap --with-build-config=bootstrap-lto --disable-werror --disable-multilib --disable-libcc1 r217178 caused: /export/project/git/gcc-regression-bootstrap/master/217178/bld/./prev-gcc/xg++ -B/export/project/git/gcc-regression-bootstrap/master/217178/bld/./prev-gcc/ -B/export/project/git/gcc-regression-bootstrap/master/217178/usr/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/export/project/git/gcc-regression-bootstrap/master/217178/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/export/project/git/gcc-regression-bootstrap/master/217178/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/export/project/git/gcc-regression-bootstrap/master/217178/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/export/project/git/gcc-regression-bootstrap/master/217178/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/export/project/git/gcc-regression/gcc/libstdc++-v3/libsupc++ -L/export/project/git/gcc-regression-bootstrap/master/217178/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/export/project/git/gcc-regression-bootstrap/master/217178/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-use -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 -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genmatch \ build/genmatch.o ../libcpp/libcpp.a ../libiberty/libiberty.a build/errors.o build/vec.o build/hash-table.o .././libiberty/libiberty.a /export/project/git/gcc-regression/gcc/gcc/genmatch.c: In function \u2018get_operator\u2019: /export/project/git/gcc-regression/gcc/gcc/genmatch.c:329:1: internal compiler error: in get_string_length, at tree-ssa-strlen.c:428 get_operator (const char *id) ^ 0x10e9c2a get_string_length /export/project/git/gcc-regression/gcc/gcc/tree-ssa-strlen.c:428 0x10eb4e8 handle_builtin_strlen /export/project/git/gcc-regression/gcc/gcc/tree-ssa-strlen.c:910 0x10ef194 strlen_optimize_stmt /export/project/git/gcc-regression/gcc/gcc/tree-ssa-strlen.c:1904 0x10ef194 strlen_dom_walker::before_dom_children(basic_block_def*) /export/project/git/gcc-regression/gcc/gcc/tree-ssa-strlen.c:2109 0x17d9c4c dom_walker::walk(basic_block_def*) /export/project/git/gcc-regression/gcc/gcc/domwalk.c:188 0x10e7c22 execute /export/project/git/gcc-regression/gcc/gcc/tree-ssa-strlen.c:2182 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [/tmp/ccbyp8aP.ltrans12.ltrans.o] Error 1 make[4]: *** Waiting for unfinished jobs.... lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/local/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make[3]: *** [build/genmatch] Error 1 with "make profiledbootstrap".