IBM Support

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

    IV24369

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5724X1200

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-05

  • Closed date

    2012-07-05

  • Last modified date

    2012-07-05

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

  • Fixed component ID

    5724X1200

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
01 October 2021