View Full Version : Does LF90 still support -o2
R. T. (Fortran Man)
02-24-2004, 11:18 PM
Does LF90 support the -o2 compile option, and what does it do? The option is not documented in the User's Guide but is listed in the compiler output.
Lahey Support
02-24-2004, 11:18 PM
-o2 was dropped from LF90 v4.5 and should have been removed from the driver as well as the documentation. In LF90 v4.5 -o2 is the same as -o1.
--
Release notes for LF90 v4.00a (from
http://www.lahey.com/lf9040updt.htm):
--
Unreliable optimization level 2 removed
LF90 v3.50b and previous versions did certain memory optimizations when
invoked with -o2. These optimizations were not reliable enough and they
did very little if anything to speed up most programs. They are not
among the optimizations done with -o3. Starting with v3.50c, the -o2
memory optimizations have been removed. "-o2" is now a synonym for
"-o1".
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.