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

    IV31636

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5725C7400

  • Reported release

    E10

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

    LI77090

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

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5725C7400

Applicable component levels

  • RE10 PSN U856076

       UP06/09/13 C



Rate this page:

(0 users)Average rating

Document information


More support for:

XL Fortran for AIX
Compiler

Software version:

14.1

Reference #:

IV31636

Modified date:

2012-11-08

Translate my page

Machine Translation

Content navigation