IBM Support

IV65250: APPLICATION CORE DUMP WITH -O

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling a large application with -O, the resulting binary
    produces an incorrect result and segfaults at runtime.
    

Local fix

  • Use -O -qalias=noansi to workaorund the issue.
    

Problem summary

  • PROBLEM DESCRIPTION:
    Applications may run into an error if there is code which is
    using union members with different methods
    ie access one member with unoin pointer indirectly and access
    other member directly.
    The alias relation between union shadow member would not alias
    with other normal union members. This will cause the lack of
    alias for optimized code leading to an error.
    

Problem conclusion

  • The aliasing info has been fixed to handle the above scenario.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV65250

  • 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-25

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

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 #: IV65250

Modified date: 23 October 2014