https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113712
--- Comment #20 from Martin Jambor <jamborm at gcc dot gnu.org> --- I have access to the benchmark and building it with -fprofile-generate it fails for me (with an ICE in add_symbol_to_partition_1) only when I use -fno-use-linker-plugin and either -std=c++11 or -std=c++03. Using -std=c++14 also avoids the issue. In any event, -fno-use-linker-plugin looks necessary.