Fixes are available
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C for AIX Fix Pack 22 (September 2015 PTF) for 11.1
APAR status
Closed as program error.
Error description
A code optimization is occurring that is producing incorrect values for unsigned int datatypes used for comparison.
Local fix
Do not use optimization.
Problem summary
PROBLEM DESCRIPTION: Incorrect comparison result for unsigned int variable in 64bit mode. USERS AFFECTED: Users who use an unsigned int datatype as a comparison variable, and compile with optimization.
Problem conclusion
Because the code is in 64-bit mode, the upper bits of the value need to be cleared before use. The compiler will now generate code that clears the upper 32-bits to avoid the incorrect value comparison.
Temporary fix
Comments
APAR Information
APAR number
IV72087
Reported component name
XL C/C++ AIX
Reported component ID
5724X1300
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-13
Closed date
2015-09-29
Last modified date
2015-09-29
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 FOR AIX
Fixed component ID
5724X1200
Applicable component levels
RB10 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
29 September 2015