https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23197
sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #6 from sandra at gcc dot gnu.org --- This is (finally) fixed on trunk. The code has changed so much over the last 13 years that the attached patch was not helpful, so I went through opts.c and made sure the documentation matches the code. I also fixed -fauto-profile, which shares most of the same logic as -fprofile-use.