IBM Support

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

    IV21461

  • Reported component name

    XL C++ AIX

  • Reported component ID

    5724U8100

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-05-18

  • Closed date

    2012-08-24

  • Last modified date

    2012-08-24

Fix information

  • Fixed component name

    XL C AIX

  • Fixed component ID

    5724U8000

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
20 August 2024