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.


-- 
           Summary: Inconsistent description of -O1 and -finline-small-
                    functions options in documentation
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howard_b_golden at yahoo dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42305

Reply via email to