Fixes are available
October 2012 PTF for XL C/C++ for AIX, V11.1
February 2013 PTF for XL C/C++ for AIX, V11.1
XL C/C++ for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
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
IV25898
Reported component name
XL C++ AIX
Reported component ID
5724U8100
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-08-08
Closed date
2012-10-03
Last modified date
2012-10-03
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++ AIX
Fixed component ID
5724X1300
Applicable component levels
RB10 PSY U855106
UP A
Document Information
Modified date:
03 October 2012