Fixes are available
XL C/C++ for AIX Fix Pack 2 (December 2014 PTF) for 13.1
XL C/C++ for AIX Fix Pack 3 (April 2015 PTF) for 13.1
XL C/C++ for AIX Fix Pack 4 (July 2015 PTF) for 13.1
XL C/C++ for AIX Fix Pack 5 (November 2015 PTF) for 13.1
XL C/C++ for AIX Fix Pack 6 (February 2016 PTF) for 13.1
XL C/C++ for AIX Fix Pack 7 (May 2016 PTF) for 13.1
XL C/C++ for AIX Fix Pack 8 (August 2016 PTF) for 13.1
XL C/C++ for AIX Fix Pack 9 (June 2017 PTF) for 13.1
XL C/C++ for AIX Fix Pack 10 (February 2018 PTF) for 13.1
XL C/C++ for AIX Fix Pack 11 (November 2018 PTF) for 13.1
APAR status
Closed as program error.
Error description
The presence of the sizeof operator in a function that gets inlined is causing an internal error to occur in the xlCentry component of the compiler. === TEST CASE === struct mystruct { char val[80]; }; void func1(void) { unsigned int num = sizeof(mystruct::val); } void func2(void) { func1(); } $ xlC -qinline -c test.cpp xlC: 1501-230 (S) Internal compiler error; please contact your Service Representative. For more information visit: http://www.ibm.com/support/docview.wss?uid=swg21110810 $
Local fix
Do not use -qinline
Problem summary
PROBLEM DESCRIPTION: Inlining code containing the sizeof operator is encountering an error condition within the compiler. USERS AFFECTED: Users of the sizeof operator and code inlining.
Problem conclusion
The issue has been resolved.
Temporary fix
Comments
APAR Information
APAR number
IV61729
Reported component name
XL C++ AIX
Reported component ID
5724U8100
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2014-06-20
Closed date
2014-12-17
Last modified date
2014-12-17
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
Document Information
Modified date:
21 August 2024