Documentation states that the default value of -finline-limit is 600. However, if -finline-limit=600 is actually used with -O3, the code size is much bigger than if it weren't used with -O3. The real default value seems to be closer to 180.
Default values specified for max-inline-insns-single (450) and max-inline-insns-auto(90) are not consistent with being -finline-limit / 2. This is important to fix for people who want to play around with -finline-limit value -- it's good to know what your base is before you change it. -- Summary: Documentation for -finline-limit is incorrect Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ddenisen at altera dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35042