Skip to main content

LI77090: APPLICATION SEGFAULT AT -O3


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling a large application with -O3, the resulting
    binary segfaults at runtime. The issue appears to be related to
    the -O3 optimization level; as when decresing the optimization
    to -O2 avoid the issue.
    

Local fix

  • Use -O2 instead of -O3 to avoid the issue.
    

Problem summary

  • USERS AFFECTED:
    Users who compile at PPC 64 bit and at -O3 can be affected by
    this issue.
    
    PROBLEM DESCRIPTION:
    The max and min builtin functions for unsigned 32 bit quantities
    fails for expressions that have non zero values in the upper
    bits.
    

Problem conclusion

  • The compiler has been fixed by cleaning the upper bits of the
    expression before generating the code sequence for unsigned 32
    bit min and max when -q64 is specified.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77090

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

  • Closed date

    2012-11-08

  • Last modified date

    2012-11-08

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

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

    IV31636 IV31756 LI77156

Fix information

  • Fixed component name

    XL C/C++ FOR BG

  • Fixed component ID

    5799AG100

Applicable component levels

  • RC10 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

XL C/C++ for Blue Gene/Q

Compiler


Software version:
12.1


Reference #:
LI77090


Modified date:
2012-11-08

Translate my page

Content navigation