IBM Support

LI78227: WRONG PROGRAM OUTPUT IF ROUTINE IS INLINED IN SOURCE COMPILED USING ALTIVEC AND IPA.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Wrong program output if routine is inlined in source compiled
    using Altivec and IPA.
    

Local fix

  • If possible avoid explicit cast of vector types to other vector
    types.  Or lower optimization level to avoid using IPA.
    

Problem summary

  • USERS AFFECTED:
    Users using altivec in their source and invoking IPA may be
    affected by this issue.
    
    PROBLEM DESCRIPTION:
    IPA is changing the type of a symbol to avoid a conversion, but
    this is causing incorrect behavior when the temporary is being
    used else where.
    

Problem conclusion

  • IPA has been changed so that it will not change the type of the
    symbol, but leave the conversion in the code.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI78227

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-30

  • Closed date

    2014-10-30

  • Last modified date

    2014-10-30

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

    IV65193

  • 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: 13.1

Reference #: LI78227

Modified date: 30 October 2014