IBM Support

IZ92770: GENERATED EXECUTABLE FAILS TO RUN AT -O5

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compilation at -O5 optimization results in the generation of an
    executable that hanges at run-time.
    

Local fix

  • Use a lower optimization level.
    

Problem summary

  • PROBLEM DESCRIPTION:
    A runtime failure (incorrect results, seg faults, or hang) is
    encountered due to incorrect aliasing.
    
    USERS AFFECTED:
    Users who compile at -O5 optimization.
    

Problem conclusion

  • The problem occurs when there is a call in the code to a known
    library functions which returns an address with the value of
    one of the address argument, the compiler may miss the link of
    these two pointers and get their aliasing wrong. The fix is to
    link these kinds of pointers, and thus their aliasing. The
    performance impact should be minimal.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ92770

  • Reported component name

    XL C++ AIX

  • Reported component ID

    5724U8100

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-21

  • Closed date

    2011-01-21

  • Last modified date

    2011-01-21

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

    IZ87170

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

Fix information

  • Fixed component name

    XL C++ AIX

  • Fixed component ID

    5724U8100

Applicable component levels

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

Document Information

Modified date:
21 January 2011