IBM Support

PI65362: 0C4 IN SCANBLOCK() WITH -O2

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compiling an application containing a variable initialization
    with boolean conditional evaluation with -O2 is encountering an
    internal compiler 0C4 error.
    
    
    
       === EXAMPLE CODE ===
    
    Note:  not a standalone test case
    
    unsigned long val d =
          !( ((1L<<(value1)) & (number)) != 0L ) ||
          !( ((1L<<(value2)) & (number)) != 0L );
    
    
    $ xlC -c -O2 test.cpp
    CEE3204S The system detected a protection exception (System
    Completion Code=0C4).
             From entry point scanBlock(int,stateT&) at statement
    345 at compile unit offset +000002F4 at entry offset
             +000002F4 at address 27B7437C.
    FSUM3224 c++: Fatal error in
    ccndrvr: signal 9 received.
    $
    

Local fix

  • Do not use optimization.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: USERS OF Z/OS XL C/C++  V2R1.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: COMPILER ICE WHEN MASK APPEARS AS AN    *
    *                      IV RATHER THAN A SYMBOLIC REGISTER.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    INCORRECT CODE MAY BE GENERATED BY TOBEY WHEN OPTIMIZING
    CAUSING AN ICE.
    

Problem conclusion

  • APPLY PROVIDED SERVICE.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI65362

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    790

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-05

  • Closed date

    2016-07-06

  • Last modified date

    2016-10-03

  • APAR is sysrouted FROM one or more of the following:

    PI62156

  • 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

  • R790 PSY UI39212

       UP16/09/02 P F609

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":"790","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":"790","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
22 August 2024