APAR status
Closed as program error.
Error description
When compiling code with the -g -O2 and -qarch=pwr8 compile options, the compiler encounters an internal error in the xlCcode component. The error message may look similar to: 1500-004: (U) INTERNAL COMPILER ERROR while compiling test(). Compilation ended. Contact your Service Representative and provide the following information: Internal abort. For more information visit: http://www.ibm.com/support/docview.wss?uid=swg21110810
Local fix
Remove one of the options, or try -O3
Problem summary
PROBLEM DESCRIPTION: When using -g debug information and optimization at the same time, code reorganization during code optimization may place debug information out of order, causing an internal error to occur within the compiler. USERS AFFECTED: Users of -g and -O, with this particularly uncommon code pattern.
Problem conclusion
Code reorganization for this code pattern is prevented, which avoids the error condition and internal compiler error.
Temporary fix
Comments
APAR Information
APAR number
LI80716
Reported component name
XL C/C++ LINUX
Reported component ID
5725C7310
Reported release
G11
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-04-16
Closed date
2019-06-21
Last modified date
2019-06-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL C/C++ LINUX
Fixed component ID
5725C7310
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
21 June 2019