IBM Support

LI76895: 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

    LI76895

  • Reported component name

    XL C/C++ RHEL52

  • Reported component ID

    5724U8310

  • 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++ RHEL52

  • Fixed component ID

    5724U8310

Applicable component levels

  • RA10 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
16 October 2021