IBM Support

LI76879: INTERNAL COMPILER ERROR IN XLCCODE WITH -O2

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling a large testcase with -O2, the compiler abends in
    the xlCcode section of the compiler. The issue appears to be
    related to the use of -O2 with -g and -qcheck=all.
    
    ===== COMPILE COMMAND:
    xlC_r -c -O2 -q64 -qstrict -qrtti=all -Q -qmaxmem=-1 -g
    -qlibansi -qro -qroconst -qcheck=all -qtls a.cxx
    
    ===== ACTUAL OUTPUT:
    Internal compiler error in xlCcode
    
    
    ===== EXPECTED OUTPUT:
    The compiler should not produce an internal compiler error.
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    C users can be affected by this issue.
    
    PROBLEM DESCRIPTION:
    The compiler produces an internal compiler error when compiling
    a C program.
    

Problem conclusion

  • An additional check is performed that prevents the optimizer
    from entering an error condition and causing an internal
    compiler error.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76879

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-16

  • Closed date

    2012-07-16

  • Last modified date

    2012-07-16

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

    IV21461

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

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels

  • RA10 PSY

       UP



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76879

Modified date: 16 July 2012


Translate this page: