https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127629

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ivan Lazaric from comment #0)
> Replacing `-Og` with a bunch of optimizations I got from `-Q
> --help=optimizers`
> behaves like `-O0`, not like `-Og`.

Yes, that's expected. All those options are completely ignored unless you
enable optimization with a non-zero -Ox option.

https://gcc.gnu.org/wiki/FAQ#optimization-options

Reply via email to