-loop


< Compile Options / Optimize Options >

[Format]

-loop[=<numeric value>]

 

-

[Default]

The default for this option is loop=2.

[Description]

-

This option specifies whether to optimize loop expansion.

-

When the loop option is specified, the compiler expands loop statements (for, while, and do-while).

-

The maximum expansion factor can be specified by <numeric value>. An integer from 1 to 32 can be specified for <numeric value>. If no <numeric value> is specified, 2 will be assumed.

-

The default for this option is determined based on the optimize option and speed or size option specifications. For details, refer to the speed or size option.

[Remarks]

-

This option is invalid when optimize=0 or optimize=1.