https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87553
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > > --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- > > It probably looks that there's missing profile file *.gcda. Can you check > > it's > > generate in -fprofile-generate run? > > It isn't, however the g++ run completes without error. According to > truss -f, not even an attempt is made to create a .gcda file. When the executable is executed, the *.gcda file should be created. Please check why the file is not generated.