Fixes are available
APAR status
Closed as program error.
Error description
An internal compiler error is encountered in a code scenario involving private inheritance and template usage. ===== TEST CASE ===== template <class MYTYPE> struct Myclass { explicit Myclass(); template <class MYTYPE2> Myclass(Myclass<MYTYPE2>& alias, MYTYPE *ptr); MYTYPE *ptr() const; }; struct Temp {}; struct Class1 {}; class Class2 : private Class1 {}; template <typename mytype> struct Class3 : Class2 { Class3(Managed<Class1> params) {} }; void test() { Managed<class3<Temp> > var; Managed<class2> sharedRequest(var, var.ptr()); } $ xlC -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
Problem summary
PROBLEM DESCRIPTION: Internal compiler error from invalid private base member access. USERS AFFECTED: The problem would be seen if the compiler was attempting to generate a warning for an invalid access to a member of a private base class.
Problem conclusion
The internal error has been fixed and all duplicate messages have also been corrected.
Temporary fix
Comments
APAR Information
APAR number
LI77439
Reported component name
XL C/C++ FOR LI
Reported component ID
5724X1400
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2013-06-11
Closed date
2013-06-11
Last modified date
2013-06-11
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 LI
Fixed component ID
5724X1400
Applicable component levels
RB10 PSN IV25898
UP06/09/13
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
14 October 2021