C/C++ and Fortran


Operating Systems

The core of your mission-critical workloads: AIX, IBM i, and Enterprise Linux


ISV Solutions

Stay up to date with key capabilities running on POWER such as SAP

Business Continuity

Learn how to keep critical processes running and adapt quickly with PowerHA


Power Security

Protect your most sensitive data anywhere in your hybrid cloud


Check here for virtualization and management needs: HMC & CMC, PowerVC, and PowerVM

Open Source

Join our open source efforts within the IBM Power Systems portfolio

Enterprise Infrastructure as a Service

Achieve business growth with agility and flexibility with our enterprise IaaS in Power Virtual Server

Programming Languages

The hub for Programming Languages

A compiler option that helps debug optimized code

By Archive User posted Wed July 11, 2012 07:46 AM


Originally posted by: melaniejs

Debugging optimized code has always been a challenging task, because it could make the program state not available to debuggers. Optimization can change the sequence of operations, add or remove code, change variable data locations, and perform other transformations that make it difficult to associate the generated code with the original source statements. In this article, Daniel Chen and Tommy Hoffner introduce a compiler option that helps debug optimized code.  Read more

Interested in debugging optimized code using the latest XL compilers, look for these exercises in the Enterprise modernization sandbox for Power Systems under the section  Optimize server performance and programmer productivity with IBM compilers
Debugging optimized XL Fortran code
Debug optimized C code using the dbx debug program and the XL C compiler