A fix is available
APAR status
Closed as program error.
Error description
When compiling with optimization, the compiler may fail with an assertion at ./CodeGenRA.cpp:84 for some programs. The problem appears to have been introduced with compiler improvements made in APAR PI58075.
Local fix
Compile at OPTIMIZE(0).
Problem summary
**************************************************************** * USERS AFFECTED: Users of Enterprise COBOL V5.2 compiling * * programs with IF statements that use * * condition-names (level 88 items) of type * * PIC X(1) using compiler option OPT(1) or * * OPT(2). * * * **************************************************************** * PROBLEM DESCRIPTION: Compiler ABORT with message * * IGYCB7104-U Failed assertion on * * ./CodeGenRA.cpp * * * **************************************************************** * RECOMMENDATION: Apply the provided PTF. * * * **************************************************************** When evaluating an IF statement with a level 88 entry of type PIC X(1) in some cases the compiler would keep a register alive till end of compilation.
Problem conclusion
Compiler was updated to properly evaluate and kill register.
Temporary fix
Comments
APAR Information
APAR number
PI66042
Reported component name
ENT COBOL FOR Z
Reported component ID
5655W3200
Reported release
520
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-07-18
Closed date
2016-07-22
Last modified date
2016-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
IGYCBE
Fix information
Fixed component name
ENT COBOL FOR Z
Fixed component ID
5655W3200
Applicable component levels
R520 PSY UI39594
UP16/07/29 P F607
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}},{"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":"520","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 August 2016