Lahey/GNU Fortran

-[n]wpo

Whole Program Optimizations

Compile and link. Default: -nwpo

GFortran options: -fwhole-program

Specify -wpo to perform optimizations that require analysis of the entire program by the compiler (interprocedural optimizers).