IBM Support

IV28617: DESTRUCTOR NOT CALLED FOR DESTROYED OBJECT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A large program during execution, throws an exception
    within a try block.
    
    When the exception is thrown out of a specific function, the
    object that was created within the catch scope above should be
    destroyed after exiting the catch block.
    
    
    But the problem is that the destructors for that object are not
    called leading to incorrect execution of the program.
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    The compiler was incorrectly considering a user-defined empty
    virtual destructor as trivial and eliminating it.
    
    PROBLEM DESCRIPTION:
    The problem is exposed with user-defined empty virtual
    destructors.
    

Problem conclusion

  • The problem has been fixed, the compiler no longer considers a
    virtual destructor as trivial even when it is empty.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV28617

  • 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

    2012-09-24

  • Closed date

    2012-10-03

  • Last modified date

    2012-10-03

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

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

    IV31739 LI77142 LI77437

Fix information

  • Fixed component name

    XL C/C++ AIX

  • Fixed component ID

    5724X1300

Applicable component levels

  • RB10 PSY U855106

       UP A



Document information

More support for: XL C/C++ for AIX

Software version: 11.1

Reference #: IV28617

Modified date: 03 October 2012