public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/59658] New: Document -f* flags enabled by -Og
@ 2014-01-02 14:36 burnus at gcc dot gnu.org
2014-01-07 11:50 ` [Bug middle-end/59658] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-01-02 14:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59658
Bug ID: 59658
Summary: Document -f* flags enabled by -Og
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-O-775 documents
the -f* flags enabled by -O*. And the -f* options document their respective -O*
options which enables them.
However, for -Og this is not documented. The information can be obtained using:
gcc -Q --help=optimizers -Og|grep enabled
It might be useful to have this information in the man page for -Og as well.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/59658] Document -f* flags enabled by -Og
2014-01-02 14:36 [Bug middle-end/59658] New: Document -f* flags enabled by -Og burnus at gcc dot gnu.org
@ 2014-01-07 11:50 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-07 11:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59658
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-01-07
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
But it might be misleading (similar to -O0 vs -O2) - enabling for example
-ftree-pre won't enable PRE for -Og as it has a completely different
pass pipeline which is not based on -O[123]. Those enumerations are only
relevant for the 'numbered' optimization levels (excluding -O0).
So we miss to filter options in --help optimizers that can be enabled at all.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-07 11:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-02 14:36 [Bug middle-end/59658] New: Document -f* flags enabled by -Og burnus at gcc dot gnu.org
2014-01-07 11:50 ` [Bug middle-end/59658] " rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).