IBM Support

LI76527: SIGNAL 11 IN IPA WHEN USING -O3

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling the following test case, the compiler is
    encountering an internal error:
    
    
    void foo(unsigned int zSize, int ySize, unsigned int
    flag[zSize][ySize]) {
      for (unsigned int z = 1; z < zSize; ++z) {
        for (int y = 1; y < ySize; ++y) {
          if (flag[z][1]) {
            double v = 0.0;
          }
        }
      }
    }
    
    
    > xlc -O3 -c test.c
    Calling signal handler...
    1586-494 (U) INTERNAL COMPILER ERROR: Signal 11.
    >
    

Local fix

  • Compile with a lower optimization level.
    

Problem summary

  • USERS AFFECTED:
    Only the users who use 'unsigned int' to access multi-dimension
    variable length arrays (VLAs) maybe affected by this issue.
    
    PROBLEM DESCRIPTION:
    The access of multi-dimension VLA arguments may cause IPA to
    crash.
    

Problem conclusion

  • The compiler has been fixed to prevent a crash when accessing
    multi-dimensional VLA arguments.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76527

  • Reported component name

    XL C/C++ RHEL52

  • Reported component ID

    5724U8310

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-09

  • Closed date

    2012-01-09

  • Last modified date

    2012-01-09

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

    LI76050

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

Fix information

  • Fixed component name

    XL C/C++ RHEL52

  • Fixed component ID

    5724U8310

Applicable component levels



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76527

Modified date: 09 January 2012


Translate this page: