IBM Support

IV72087: INCORRECT CONDITIONAL RESULT WITH -QIPA AND -Q64

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A code optimization is occurring that is producing incorrect
    values for unsigned int datatypes used for comparison.
    

Local fix

  • Do not use optimization.
    

Problem summary

  • PROBLEM DESCRIPTION:
    Incorrect comparison result for unsigned int variable in 64bit
    mode.
    
    USERS AFFECTED:
    Users who use an unsigned int datatype as a comparison
    variable, and compile with optimization.
    

Problem conclusion

  • Because the code is in 64-bit mode, the upper bits of the value
    need to be cleared before use.  The compiler will now generate
    code that clears the upper 32-bits to avoid the incorrect value
    comparison.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV72087

  • Reported component name

    XL C/C++ AIX

  • Reported component ID

    5724X1300

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-13

  • Closed date

    2015-09-29

  • Last modified date

    2015-09-29

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

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

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5724X1200

Applicable component levels

  • RB10 PSY

       UP



Document information

More support for: XL C for AIX

Software version: 11.1

Reference #: IV72087

Modified date: 29 September 2015