Lahey/Fujitsu Fortran

-[N]UNROLL [(limit)]

Control loop unrolling

Compile only. Default: -unroll

Specify -unroll (limit) to control the level of loop unrolling.

limit is a number in the range 2 ≤ limit ≤ 100 enclosed in parentheses, and denotes the maximum level of loop expansion.

If limit is omitted, the value of limit is determined by the compiler.

Visual Studio Property

The -unroll option is set using the Fortran|Optimization|Unrolling property. This option can be set on the property page for the project only.

See Also

Setting Build Options