Fixes are available
January 2009 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
April 2009 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
July 2009 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
November 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
March 2011 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
July 2011 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
December 2011 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
March 2012 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
January 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
May 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
August 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
APAR status
Closed as program error.
Error description
The following test case causes the compiler to produce an internal compiler error with the following compile line: Compile line: xlC_r -O -qipa -c test.cpp ====Start of test.cpp===== typedef unsigned long size_t; class RexxArray; class RexxString; class RexxObject; class RexxMessage; typedef RexxObject * (RexxObject::*PCPPMC1)(RexxObject **, size_t); class RexxObject { public: RexxMessage *start(RexxObject **, size_t); }; class RexxArray : public RexxObject { public: void * operator new(size_t, size_t, RexxObject **); inline void operator delete(void *, size_t, RexxObject **) {;} inline RexxArray() { ; }; }; class RexxMessage : public RexxObject { public: RexxMessage(RexxObject *, RexxObject *, RexxArray *); RexxObject *start(RexxObject *); }; RexxMessage *RexxObject::start( RexxObject **arguments, size_t argCount) { RexxMessage *newMessage; RexxString *newMsgName; RexxObject *message = arguments[0]; newMessage = new RexxMessage(this, message, new (argCount - 1, arguments + 1) RexxArray); return newMessage; } ======End of test.cpp=============
Local fix
n/a
Problem summary
C++ customers using exceptions and optimization with inlining on all platforms maybe affected by this issue. Compiler produces an internal compiler error under specific conditions where inlining removes a try / catch block.
Problem conclusion
Fixed the exception handling state table functions so that when a try / catch block is removed the state table entries are not left in an invalid state.
Temporary fix
Comments
APAR Information
APAR number
IZ35789
Reported component name
XLC C++ AIX
Reported component ID
5724S7100
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-10-27
Closed date
2008-11-28
Last modified date
2009-01-27
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
XLC C++ AIX
Fixed component ID
5724S7100
Applicable component levels
Document Information
Modified date:
04 October 2021