LI77116: STACK DEALLOCATE AT -O3 CAUSES CORRUPT STACK

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Compiling at -O3 is causing a function's stack frame to be
    deallocated before the end of the function.  Local stack
    variables that are still live may be used invalidly, and writing
    to them might cause stack corruption.
    

Local fix

  • - Do not use optimization
    

Problem summary

  • PROBLEM DESCRIPTION:
    Arithmetic on address values leads to an optimization error.
    
    USERS AFFECTED:
    Users performing arithmetic on address values which otherwise
    do not appear to be stored.  This mainly affects buffers
    allocated as objects on the stack or statics with no linkage.
    

Problem conclusion

  • Code analysis was modified to consider operands of arithmetic
    operations.  The issue is now resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77116

  • Reported component name

    XL C/C++ FOR BG

  • Reported component ID

    5799AG100

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-23

  • Closed date

    2012-11-23

  • Last modified date

    2012-11-23

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

    IV23847

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

Fix information

  • Fixed component name

    XL C/C++ FOR BG

  • Fixed component ID

    5799AG100

Applicable component levels



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

XL C/C++ for Blue Gene/Q
Compiler

Software version:

12.1

Reference #:

LI77116

Modified date:

2012-11-23

Translate my page

Machine Translation

Content navigation