Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29264 Discussions

-g flag does not imply -O0 as stated

ereisch
New Contributor II
470 Views
Compile a program (maybe it needs to be large?) with the -g flag, and about 90% of variables are returned as optimized away when you try to view them from within idb. Compile that same program with both -g and -O0 set, and you can view all variables. This is contrary to the release notes stating that -O0 is implied when using -g.

Thought I'd pass that along in case anyone was having these problems. Oh, and it's ifort v8.1.019.
0 Kudos
0 Replies
Reply