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 function calls one within the another; and use inlining are potentially affected by this issue PROBLEM DESCRIPTION: An internal optimization was incorrectly causing an internal variable to be folded incorrectly leading to the incorrect output at runtime
Problem conclusion
The compiler optimization has been resolved to handle the above mentioned scenario.
Temporary fix
Comments
APAR Information
APAR number
IJ04415
Reported component name
XL C FOR AIX
Reported component ID
5725C7100
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-03-01
Closed date
2018-03-01
Last modified date
2018-03-01
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
UP
[{"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":"13.1"}]
Document Information
Modified date:
14 September 2021