[Bug other/115211] [11/12/13/14/15 regression] -frecord-gcc-switches refactoring lost list of enabled options

2024-05-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211

--- Comment #4 from Richard Biener  ---
(In reply to Richard Biener from comment #3)
[..]
> Ah!  Use -Q --help=optimizers (how intuititve...)

Or when invoking cc1 omit -quiet.  remember to put --help=optimziers after
optimization options.

[Bug other/115211] [11/12/13/14/15 regression] -frecord-gcc-switches refactoring lost list of enabled options

2024-05-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211

--- Comment #3 from Richard Biener  ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #2)
> > --- Comment #1 from Richard Biener  ---
> > 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...)

[Bug other/115211] [11/12/13/14/15 regression] -frecord-gcc-switches refactoring lost list of enabled options

2024-05-24 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE  ---
> --- Comment #1 from Richard Biener  ---
> 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.

--help=optimizers just documents optimization options, with no
indication which are enabled for a given compilation.  Don't see how
this helps.

[Bug other/115211] [11/12/13/14/15 regression] -frecord-gcc-switches refactoring lost list of enabled options

2024-05-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |11.5

--- Comment #1 from Richard Biener  ---
This was done on purpose, you can use -help=optimizers now I think.