Fixes are available
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
Closed as program error.
The default assignment operator for an empty struct is writing a single byte during the assignment. This can cause unexpected output, or overwritten data when a class is cast as an empty struct and the assignment operator is used.
PROBLEM DESCRIPTION: An implicit copy assignment operator copies 1 byte for an empty class. USERS AFFECTED: Copy assignment objects with empty class type or casting to empty class type before copy assignment.
The issue was corrected, and the 1 byte is no longer copied.
Reported component name
XL C/C++ AIX
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
XL C/C++ AIX
Fixed component ID
Applicable component levels
RB10 PSY U858036