Fixes are available
XL C/C++ for AIX Fix Pack 3 (April 2015 PTF) for 13.1
XL C/C++ for AIX Fix Pack 4 (July 2015 PTF) for 13.1
XL C for AIX Fix Pack 5 (November 2015 Update) for 13.1
XL C/C++ for AIX Fix Pack 5 (November 2015 PTF) for 13.1
XL C/C++ for AIX Fix Pack 6 (February 2016 PTF) for 13.1
XL C for AIX Fix Pack 6 (February 2016 Update) for 13.1
XL C for AIX Fix Pack 7 (May 2016 Update) for 13.1
XL C/C++ for AIX Fix Pack 7 (May 2016 PTF) for 13.1
XL C for AIX Fix Pack 8 (August 2016 Update) for 13.1
XL C/C++ for AIX Fix Pack 8 (August 2016 PTF) for 13.1
XL C for AIX Fix Pack 9 (June 2017 Update) for 13.1
XL C/C++ for AIX Fix Pack 9 (June 2017 PTF) for 13.1
XL C for AIX Fix Pack 10 (February 2018 Update) for 13.1
XL C/C++ for AIX Fix Pack 10 (February 2018 PTF) for 13.1
XL C for AIX Fix Pack 3 (April 2015 PTF) for 13.1
XL C for AIX Fix Pack 4 (July 2015 PTF) for 13.1
XL C/C++ for AIX Fix Pack 11 (November 2018 PTF) for 13.1
XL C for AIX Fix Pack 11 (November 2018) for 13.1
APAR status
Closed as program error.
Error description
When using optimization, an internal integer to float double conversion is causing values to be stored at one memory location, but loaded from another location in memory. For example, in the following listing output, integer 'test' is stored on the stack via gr1, but loaded later in the program using an offset of gr31: 0| 00F608 std F88100B0 1 ST8 test(gr1,176)=gr4 ... 0| 0274CC lwa E89F80F2 1 L4A gr4=test(gr31,-32528)
Local fix
Use a lower optimization level.
Problem summary
USERS AFFECTED: Users that have automatic variables/parameters in their code may be affected by this issue. PROBLEM DESCRIPTION: At macro expansion time tje compiler has to know what automatic variables/parameters are accessible directly from the stack pointer and which ones may be too far away. There is a fairly small number of temps that might be used by macro expansion. The compiler was not taking those into account.
Problem conclusion
The compiler has been fixed to take into account the small number of temps that get generated.
Temporary fix
Comments
APAR Information
APAR number
IV72747
Reported component name
XL C FOR AIX
Reported component ID
5725C7100
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-27
Closed date
2015-04-27
Last modified date
2015-04-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
XL C FOR AIX
Fixed component ID
5725C7100
Applicable component levels
RD10 PSY
Document Information
Modified date:
01 October 2021