-library [V2.00.00 or later]
|
This option performs inline expansion for calling the standard library functions.
[Specification format]
-library={function|intrinsic}
|
- | Interpretation when omitted |
It has the same meaning as when function is specified.
[Detailed description]
- | This option controls whether to perform function call or inline expansion for the following standard library functions. |
- | If function is specified, a code to always call the target functions is generated. |
- | If intrinsic is specified, inline expansion is performed for calling the target functions if possible. |
- | The parameter must be specified in lowercase characters. |
- | If this option is specified more than once, the last specification is valid. |
- | An error will occur in any of the following cases. |
- | When the parameter is omitted |
- | When a parameter other than function or intrinsic is specified as the parameter |
- | If inline expansion is performed for calling the target library functions because of this option, the expanded code will not update variable errno. The operation for the following inputs differs from that when a function was called. |
- | sqrt or sqrtf: -0.0, negative number, or not-a-number |
- | fmax, fmaxf, fmin, or fminf: +0.0, -0.0, or not-a-number |