https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84280
--- Comment #13 from Patrik Huber <patrikhuber at gmail dot com> --- >> Did you try with FDO? (-fprofile-generate, run, -fprofile-use) I just tried this with g++-7. It didn't help, the final executable has the same slower run time as in the attached log without the FDO.