Fixes are available
APAR status
Closed as program error.
Error description
When compiling with the -qhot optimization level, an incorrect optimization is performed that causes both the true and false blocks of an IF statement to execute identical code. For example: if(test==0) do_one(); else do_two(); In this case, the false/else block is run in both IF scenarios, i.e. test==0 or test!=0.
Local fix
Compile with -qhot=level=0 or -qnohot
Problem summary
PROBLEM DESCRIPTION: The issue was determined to be an incorrect loop transformation optimization applied when using -qhot. USERS AFFECTED: The rare optimization issue may be seen in code that uses -qhot and contains a loop structure that has the ability to break out of the loop.
Problem conclusion
The optimization was corrected, and correct code is now generated.
Temporary fix
Comments
APAR Information
APAR number
IJ16324
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
2019-05-24
Closed date
2019-05-24
Last modified date
2019-05-24
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 IJ10561
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