- #1
jelanier
- 67
- 1
- TL;DR Summary
- compiling with O level parameters individually does not equal O level
I am trying to troubleshoot why GFORTRAN versions beyond 5.4 will not compile with optimization on some of my .f source.
You can request options included in each level by:
Gfortran -Q -O1 --help=optimizers > listO1.txt (as an example)
When I enter the enabled flags individually and compile, they do not equal the -O1 composite. I know this by compiling and running a program using each example. Huge difference. What am I missing? Is this a major bug?
Thanks on advance
Jim
You can request options included in each level by:
Gfortran -Q -O1 --help=optimizers > listO1.txt (as an example)
When I enter the enabled flags individually and compile, they do not equal the -O1 composite. I know this by compiling and running a program using each example. Huge difference. What am I missing? Is this a major bug?
Thanks on advance
Jim