IBM Support

LI77940: GRARNN ERROR WHEN NOT USING -QMAXMEM=-1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The compiler is encountering an internal compiler error during
    the register allocation step in the xlCcode component of the
    compiler.  When compiling with the -qphsinfo option, the error
    is output after the OPTIMIZ stop.  The error typically looks
    similar to:
    
       Front End - Phase Ends;   2.580/  2.590
       W-TRANS   - Phase Ends;   0.030/  0.030
       OPTIMIZ   - Phase Ends;   3.250/  3.250
    
       1500-004: (U) INTERNAL COMPILER ERROR while compiling main.
       Compilation ended.  Contact your Service Representative and
       provide the following information: GRARNN: gr10110 is used
       before it is defined. For more information visit:
       http://www.ibm.com/support/docview.wss?uid=swg21110810
    
    Compiling with -qmaxmem=-1 may sometimes prevent the issue.
    

Local fix

  • Lower optimization level, or increase the -qmaxmem limit.
    

Problem summary

  • PROBLEM DESCRIPTION:
    A code optimization reorganizes some code without reorganizing
    it's dependents, resulting in an internal error.
    
    USERS AFFECTED:
    Large applications with nested loops.
    

Problem conclusion

  • The optimization was corrected to avoid bad code
    reorganization.  Problem is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77940

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-30

  • Closed date

    2014-04-30

  • Last modified date

    2014-04-30

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

    IV52183

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

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":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
16 October 2021