IBM Support

IJ08155: XLC GENERATING WRONG CODE FOR C++ METHOD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The xlC compiler generated incorrect code for a specific
    testcase causing the resulting binary to SIGSEGV at runtime.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users who have the cases with two 64bit numbers (long long,
    64bit address etc.)
    calculations and then convert it into int32 may encounter this
    issue.
    
    PROBLEM DESCRIPTION:
    Mixing 64 bit numbers with ints (32 bit numbers, sign extended)
    results in an
    invalid code transformation that can cause wrong results or seg
    fault.
    

Problem conclusion

  • The compiler transformation has been corrected
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ08155

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    D13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-02

  • Closed date

    2018-08-02

  • Last modified date

    2018-08-02

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

    IV99157

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

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]

Document Information

Modified date:
24 August 2021