Fixes are available
XL C/C++ for AIX Fix Pack 1 (September 2014 PTF) for 13.1
XL C/C++ for AIX Fix Pack 2 (December 2014 PTF) for 13.1
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 1 (September 2014 PTF) for 13.1
XL C for AIX Fix Pack 2 (December 2014 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
The compiler generates unnecessary store for vector in the following code: N N N $ cat test.cpp double extract0(vector double v) { return v[0]N } $ N $ cat test.lst . . N N N VR's set/used: --u- ---- ---- ---- ---- ---- ---- ---- | 000000 PDEF extract0(vector double) | 000000 AKA extract0__Fad 1| N PROC v,vs34 0| 000000 stdu F821FF81 1 ST8U gr1,#stack(gr1,-128)=gr1 N 0| 000004 addi 38000070 1 LI gr0=112 3| 000008 xxlor F0221496 1 VOR vs1=vs34,vs34 0| 00000C stNvN2x 7C410799 1N VSTQD v(gr1,gr0,0)=vs34 4| 000010 addi 38210080 1 AI gr1=gr1,128 4| 000014 bclr 4E800020 1 BA lr . . N $ N No stack adjustment and no stxvd2x is required.
Local fix
N/A N N N
Problem summary
PROBLEM SUMMANY: USERS AFFECTED: Users who compile vector cases Nnd are using vector elements may be affected by this issue. PROBLEM DESCRIPTNON: N The compiler generates unnecessary stores for vector cases when using vector elements.
Problem conclusion
A specific compiler optimization was enabled to remove the uncessary stoNes for vector cases when using vector elements.
Temporary fix
Comments
N
APAR Information
APAR number
IV65306
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
2014-09-26
Closed date
2014-09-26
Last modified date
2014-09-26
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:
03 October 2021