Fixes are available
APAR status
Closed as program error.
Error description
The inlining of a specific user function causes incorrect output at runtime. ===== ACTUAL OUTPUT: The following snippet of code evaluates incorrectly due to inlining: if(put_call_exe(exePath, argv[0], argv, outName, &status, (mode & ERROR) ? EXITCODE : 0) == -1) ===== EXPECTED OUTPUT: The above snippet of code should evaluate correctly.
Local fix
-qinline-<functtion_name> can be used as a workaround to prevent the affected function from being inlined.
Problem summary
USERS AFFECTED: Users who have header file functions that are inlined into main programs maybe affected by this issue. PROBLEM DESCRIPTION: An internal compiler optimization was incorrectly folding an internal variable leading to incorrect inlining results.
Problem conclusion
The compiler has been fixed to handle the above mentioned case.
Temporary fix
Comments
APAR Information
APAR number
IJ08165
Reported component name
XL C FOR AIX
Reported component ID
5725C7100
Reported release
D13
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-08-02
Closed date
2018-08-02
Last modified date
2018-08-02
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
RD13 PSN IJ04413
UP06/09/13
[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]
Document Information
Modified date:
24 August 2021