IBM Support

PI62156: 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 XLC/C++ V1R13                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: COMPILER ICE WHEN MASK APPEARS          *
    *                      AS AN IV RATHER THAN A                  *
    *                      SYMBOLIC REGISTER.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    .
    

Problem conclusion

  • APPLY PROVIDED FIX.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI62156

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-05-10

  • Closed date

    2016-12-20

  • Last modified date

    2017-02-01

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

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

    PI65362

Modules/Macros

  •    CCNETBY
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R780 PSY UI43494

       UP17/01/11 P F701

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

Document Information

Modified date:
22 August 2024