Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Avisos
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29286 Discusiones

list of flags used in -O2 optimization

Mikhail_O_
Principiante
996 Vistas

I have some problems with O2 optimization flags compiling a commercial software. It works with O1, but gives some errors with O2. I would like to try to add O2 flags one-by-one to see which one fails, but in the documentation I could not find the list of flags contained in O2. Or it cannot be reduced to a number of specific flags?

0 kudos
2 Respuestas
TimP
Colaborador Distinguido III
996 Vistas

Try starting from O2 and removing some optimization e.g. -no-vec -fp-model strict -assume protect_parens

Steven_L_Intel1
Empleados
996 Vistas

Optimization levels cannot be reduced to a set of flags. There are some optimizations that can be turned off with flags, but I'd say most cannot.

Responder