IBM Support

LI77646: COMPILER HANG WITH -QIPA=LEVEL=2

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The compiler hangs when compiling a large test case and when
    using the -qipa=level=2 option.
    
    The issue occurs with test cases that involve alot of pointer
    analysis.
    

Local fix

  • The workaround is to use -qipa=level=1
    

Problem summary

  • USERS AFFECTED:
    Users using ipa=level=2 or -O5 to compile their programs might
    be affected by this issue.
    
    PROBLEM DESCRIPTION:
    The problem is due to the larger number of symbols introduced
    for pointer analysis in the newer compilers when compared to
    before.
    In the newer compilers, the conservative mod/use sets contains
    all the address taken symbols, including those member symbols
    that are only used in the initilaization,
    while only their owner symbols are included in the previous
    releases. For this case, there are many such pointer type
    adress taken member symbols.
    So, a large number of these pointers are imported for
    inter-procedural pointer analysis, which slow down
    significantly the pointer analysis.
    

Problem conclusion

  • In pointer analysis, a threshold is added to allow the pointer
    targets to grow up to a certain limit when meeting two pointer
    lattices.
    If the threshold is exceeded, the target set becomes bottom.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77646

  • 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

    2013-10-28

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

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

    IV38460

  • 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

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

Document Information

Modified date:
14 October 2021