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
Keywords: documentation
Depends on:
Reported: 2009-12-05 23:04 UTC by Howard B. Golden
Modified: 2009-12-07 11:08 UTC (History)
2 users (show)

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


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, but it deserves to be tracked separately.
Comment 1 Richard Biener 2009-12-07 11:08:03 UTC