User account creation filtered due to spam.

Bug 42305 - Inconsistent description of -O1 and -finline-small-functions options in documentation
Summary: Inconsistent description of -O1 and -finline-small-functions options in docum...
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.4.2
: P3 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2009-12-05 23:04 UTC by Howard B. Golden
Modified: 2009-12-07 11:08 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2009-12-07 11:08:03


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Howard B. Golden 2009-12-05 23:04:49 UTC
The GCC manual and man page state that -O1 includes -finline-small-functions. However, the description of -finline-small-functions states that it is included by -O2 not by -O1.

I believe that the documentation should be corrected to state that -O1 includes -finline-functions-called-once (and _not_ -finline-small-functions).

This issue was mentioned by Rafał Mużyło in bug #39333 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333#c13), but it deserves to be tracked separately.
Comment 1 Richard Biener 2009-12-07 11:08:03 UTC
Confirmed.