IBM Support

IV94499: INTERNAL COMPILER ERROR - GRARNN: CR1180 IS USED BEFORE IT IS DEFINED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling a large source base with -qsmp -O2 and -qtls, an
    internal compiler error is encountered in the ipa component of
    the compiler.
    
    
    $ xlc_r -qsmp -O2 -qtls -c type.i  -V
    ...
    /opt/IBM/xlc/13.1.3/exe/ipa -comp -V -qlanglvl=extc99
    -qcpluscmt -qkeyword=inline -qalias=ansi -qthreaded -qsmp -qtls
    /tmp/xlcW0-ZamMa /tmp/xlcW1-ZamMb type.o /tmp/xlcL--amMeT.lst
    /tmp/xlcW2-ZamMc
        1500-004: (U) INTERNAL COMPILER ERROR while compiling
    <function_name>.  Compilation ended.  Contact your Service
    Representative and provide the following information: GRARNN:
    cr1180 is used before it is defined. For more information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    1586-346 (U) An error occurred during code generation.  The code
    generation return code was 1.
    ...
    $
    

Local fix

  • Do not use SMP.
    

Problem summary

  • PROBLEM DESCRIPTION:
    Internal compiler error when compiling large functions.
    
    USERS AFFECTED:
    XL C/C++ and XL Fortran users using optimization.
    

Problem conclusion

  • The issue was corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV94499

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    D13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-27

  • Closed date

    2017-04-27

  • Last modified date

    2017-04-27

  • 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 FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RD13 PSY

       UP



Document information

More support for: XL C for AIX
Compiler

Software version: D13

Reference #: IV94499

Modified date: 27 April 2017