A fix is available
APAR status
Closed as program error.
Error description
Compiler generated incorrect code for unrolled loops if the source contained loop condition with a not equal comparison between unsigned values. The unrolled loop gets executed even when there are not enough iterations.
Local fix
Disable unrolling with UNROLL(NO) option.
Problem summary
**************************************************************** * USERS AFFECTED: z/OS V2R1 XL C/C++ users compiling with * * UNROLL(AUTO) and OPT(2) or higher. * **************************************************************** * PROBLEM DESCRIPTION: Incorrect code generated for unrolled * * loops if the source contains loop * * condition with a not equal comparison * * between unsigned values. The unrolled * * loop gets executed even when there are * * not enough iterations. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Apply provided service.
Temporary fix
Comments
APAR Information
APAR number
PI58830
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
7A0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-03-09
Closed date
2016-03-09
Last modified date
2016-06-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CCNETBY
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R7A0 PSY UI36029
UP16/04/26 P F604
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7A0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQKCWV","label":"IBM C\/C++ for MVS\/ESA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7A0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
22 August 2024