https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113712
--- Comment #3 from Lehua Ding <lehua.ding at rivai dot ai> --- (In reply to Andrew Pinski from comment #2) > (In reply to Lehua Ding from comment #1) > > Reproduce steps: > > 1. download these object files(bugzilla has size limit): > > https://github.com/lhtin/temp/raw/main/objects.zip > > 2. cd the object files dir and run the command: /path/to/your/g++ -std=c++03 > > -m64 -fprofile-generate -g -Ofast -march=native -flto -fopenmp > > -DSPEC_OPENMP FullBoard.o KoState.o Playout.o TimeControl.o UCTSearch.o > > GameState.o Leela.o SGFParser.o Timing.o Utils.o FastBoard.o Matcher.o > > SGFTree.o TTable.o Zobrist.o FastState.o GTP.o MCOTable.o Random.o SMP.o > > UCTNode.o -o leela_s > > Objects is not the best thing here. > > Maybe you can reproduce it using the upstream sources of leela? > https://github.com/gcp/Leela Yes, the best way is to build the case SPEC CPU 2017 641.leela_s directly. Providing OBJECTS is another option to hopefully reproduce the problem more quickly!