IBM Support

LI76951: INCORRECT OUTPUT WITH -O2

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling a large application with -O2, the compiler
    generates incorrect code which produces incorrect results at
    runtime.
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    Users of -O2 and above may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    A specific compiler optimization was missing a check that
    causes a storage to have changed between the
    load and the exits. So re-loading at the current point made it
    unsafe.
    

Problem conclusion

  • The proper checks have been put in place to prevent the above
    from happening.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76951

  • 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

    2012-08-28

  • Closed date

    2012-08-28

  • Last modified date

    2012-08-28

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

    IV22709

  • 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



Document information

More support for: XL C/C++ for Linux
Compiler

Software version: 12.1

Reference #: LI76951

Modified date: 28 August 2012