IBM Support

LI80716: INTERNAL COMPILER ERROR WITH G/O2/QARCH=PWR8

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • When compiling code with the -g -O2 and -qarch=pwr8 compile
    options, the compiler encounters an internal error in the
    xlCcode component.  The error message may look similar to:
    
    1500-004: (U) INTERNAL COMPILER ERROR while compiling
    test(). 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

  • Remove one of the options, or try -O3
    

Problem summary

  • PROBLEM DESCRIPTION:
    When using -g debug information and optimization at the same
    time, code reorganization during code optimization may place
    debug information out of order, causing an internal error to
    occur within the compiler.
    
    USERS AFFECTED:
    Users of -g and -O, with this particularly uncommon code
    pattern.
    

Problem conclusion

  • Code reorganization for this code pattern is prevented, which
    avoids the error condition and internal compiler error.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI80716

  • Reported component name

    XL C/C++ LINUX

  • Reported component ID

    5725C7310

  • Reported release

    G11

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-16

  • Closed date

    2019-06-21

  • Last modified date

    2019-06-21

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

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

Fix information

  • Fixed component name

    XL C/C++ LINUX

  • Fixed component ID

    5725C7310

Applicable component levels



Document information

More support for: XL C/C++ for Linux

Software version: G11

Reference #: LI80716

Modified date: 21 June 2019