IBM Support

LI81242: INTERNAL COMPILER ERROR WITH -G FOR FORWARD ENUM DECLARATION

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

  • An internal compiler error is encountered when generating debug
    information, via the -g option, for forward enum declarations.
    
    
    $ cat apar.c
    enum B* b;
    $ xlc_r apar.c -c -g2
    xlc_r: error: 1501-230 Internal compiler error; please contact
    your Service Representative. For more information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    $
    

Local fix

  • Define the enum.
    

Problem summary

  • PROBLEM DESCRIPTION:
    If the variable type is a forward enum type, and with -g
    enabled, the compiler will hit an assertion.
    
    USERS AFFECTED:
    Users that want to build with debug enabled.
    

Problem conclusion

  • The issue was corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI81242

  • 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

    2020-01-31

  • Closed date

    2020-06-23

  • Last modified date

    2020-06-23

  • 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

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
24 June 2020