IBM Support

IV65193: 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

    IV65193

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-24

  • Closed date

    2014-10-23

  • Last modified date

    2014-10-23

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

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

    IV65274 LI78227

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels



Document information

More support for: XL C for AIX
Compiler

Software version: 12.1

Reference #: IV65193

Modified date: 23 October 2014