IBM Support

LI77359: XLC INCORRECT RESULT WITH -O3

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Compiling a C program with -O3 creates executable that produces
    wrong output. The file is from printf.c from sqlite 3.7.2.  It
    works fine if compiled with -O2 or under with all compiler
    releases.
    

Local fix

  • Use -O2
    

Problem summary

  • PROBLEM DESCRIPTION: Incorrect transformation during
    optimization
    
    USERS AFFECTED: Users that compile with optimization -O3
    

Problem conclusion

  • problem is fixed. Apply provided service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77359

  • 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-04-27

  • Closed date

    2013-04-27

  • Last modified date

    2013-04-27

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

    IV33990

  • 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 #: LI77359

Modified date: 27 April 2013