------- Comment #2 from dominiq at lps dot ens dot fr  2009-08-18 20:03 -------
The manual says:
-O3
Optimize yet more. -O3 turns on all optimizations specified by -O2 and also
turns on the -finline-functions, -funswitch-loops, -fpredictive-commoning,
-fgcse-after-reload and -ftree-vectorize options. 

but I see:

[karma] f90/bug% gfc -m64 -O2 -ftree-vectorize -finline-functions
-funswitch-loops -fpredictive-commoning -fgcse-after-reload where_2.f90
[karma] f90/bug% a.out
         100         100         100         210         210         210       
 310         310         337         337
[karma] f90/bug% gfc -m64 -O3 where_2.f90
[karma] f90/bug% a.out
         100         100         100         210         210         210       
 310         310         310         310
Abort

What are the missing differences between -O2 and -O3?


-- 

dominiq at lps dot ens dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenther at suse dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082

Reply via email to