APAR status
Closed as program error.
Error description
When compiling an inline ASM statement with the XL C/C++ for AIX compiler in the IBM i PASE environment, the compiler encounters an internal compiler error. The error only occurs with the xlclang++ invocation of the compiler - the legacy xlC invocation works without issue. > xlclang++ test.cpp ./opt/IBM/xlC/16.1.0/bin/.orig/xlclang++: error: 1501-230 Internal compiler error; please contact your Service Representative. For more information visit: http://www.ibm.com/support/docview.wss?uid=swg21110810 === TEST CASE === int main() { const char *s; asm volatile("" : : "rm"(s) : "memory"); }
Local fix
Problem summary
USERS AFFECTED: PASE users who have testcases that make use of ASM only are affected by this issue. PROBLEM DESCRIPTION: The compiler was incorrectly interpreting an ASM iterator causing an internal compiler error.
Problem conclusion
The compiler has been fixed to handle the above mentioned scenario.
Temporary fix
Comments
APAR Information
APAR number
IJ30034
Reported component name
XL C/C++ FOR AI
Reported component ID
5725C7200
Reported release
G10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-01-06
Closed date
2021-05-28
Last modified date
2021-05-28
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++ FOR AI
Fixed component ID
5725C7200
Applicable component levels
[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G10"}]
Document Information
Modified date:
29 May 2021