> View this now
Published on: September 19, 2012
Type of content: WHITE PAPER
Length: 12 pages
IBM XL C and C++ compilers offer advanced compiler and optimization technologies and are built on a common code base for easier porting of your applications between platforms. They comply with the latest C/C++ international standards and industry specifications and support a large array of common language features.
There are new options available to make debugging optimized code easier, specifically for –O2. When the –O2 optimization level is in effect the debug capability is completely supported. When an optimization level is higher that –O2 is in effect the debug capability is limited. The debug option –g has levels that range from 0 to 9.
In this demo, learn the differences between the debug information displayed at each of g8 and g5 level in combination with optimization level 2.