Disable Recognition and Expansion of Intrinsic Functions
When recognized, intrinsic functions can get expanded inline or their faster implementation in a library may be assumed and linked in. By default, Inline expansion of intrinsic functions is enabled.
In some cases, disabling this behavior may noticeably improve the size of the produced object or binary.
Options to specify:
Advantages of this method:
Both the size of the object files and the size of library codes brought into an executable can be reduced.
Disadvantages of this method:
- This option is already the default if you specify optionO1.
- You can specify option-nolib-inlineto disable inline expansion of standard library or intrinsic functions.
- Depending on code characteristics, this option can sometimes increase binary size.