https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > > --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- > > This was done on purpose, you can use -help=optimizers now I think. > > The thread I cited rather suggested is was removed because Martin argued > the info wasn't fully complete. However, I don't see how something that > is only 95% complete is worse than having nothing. ISTR it was awkward to keep it without duplicating code and that was the main reason citing the info is available with -[gf]record-gcc-switches ... > --help=optimizers just documents optimization options, with no > indication which are enabled for a given compilation. Don't see how > this helps. ... and also by another means that I don't remember that shows the list of options but tells whether they are enabled or not. Seems like --help=optimizers indeed isn't it (or maybe it was it but it as well was imprecise and removed ...?). Ah! Use -Q --help=optimizers (how intuititve...)