IBM Support

IV84572: INTERNAL COMPILER ERROR WITH -O2 AND VARIABLE INIT

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 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.c
        1500-004: (U) INTERNAL COMPILER ERROR while compiling
    func1.  Compilation ended.  Contact your Service
    Representative and provide the following information: Internal
    abort. For more information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    $
    

Local fix

  • Do not use optimization.
    

Problem summary

  • PROBLEM DESCRIPTION:
    Internal compiler error when internal-compiler code
    representation is unexpected/invalid for code optimization.
    
    USERS AFFECTED:
    Users of optimization.
    

Problem conclusion

  • The code representation issue has been resolved, and the
    problem is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV84572

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5724X1200

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-05-10

  • Closed date

    2016-07-25

  • Last modified date

    2016-07-25

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

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

    IV85975

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5724X1200

Applicable component levels

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
25 July 2016