IBM Support

LI76999: INTERNAL COMPILER ERROR WITH -QDFP

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling a large test case with -qdfp, the compiler
    produces an internal compiler error in the xlCcode component.
    
    ===== COMPILE COMMAND:
    xlc -qdfp  -qlanglvl=extc99 -qsuppress=1506-1350 test.c
    
    ===== ACTUAL OUTPUT:
    $xlc -qdfp  -qlanglvl=extc99 -qsuppress=1506-1350 test.c
    "/usr/include/stdlib.h", line 99.25: 1506-865 (E) The typedef
    definition of wchar_t is incompatible with the option
    wchar_t_size
        1500-004: (U) INTERNAL COMPILER ERROR while compiling Dgetp.
    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
    $
    
    
    
    ===== EXPECTED OUTPUT:
    Compiler should not abend.
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    DFP user may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    In the example of (*initdecf(array))(array->shape, 0), calling
    a function (function B, anonymous in the example) pointer which
    is returned by another function (function A, initdecf in the
    example)
    will cause the compiler to produce an internal compiler error
    at the circumstance of DFP.
    

Problem conclusion

  • This issue has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76999

  • 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

    2012-08-28

  • Closed date

    2012-08-28

  • Last modified date

    2012-08-28

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

    IV21969

  • 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



Document information

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

Software version: 12.1

Reference #: LI76999

Modified date: 28 August 2012