IBM Support

LI77004: INTERNAL ERROR WITH -QSIMD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling the following test case with -qsimd, the compiler
    is encountering an internal compiler error:
    
       =====  TEST CASE  =====
    
    #include <stdint.h>
    
    int function(short *data, short *out, long index)
    {
      long i, tmp;
    
      tmp = index & 0xFFFFFFFFLL;
      if(data[tmp]==0) {
         return 0;
      }
      for (i=0; i<30; i++)
         out[i] = data[tmp];
      return tmp;
    }
    
    
    
    >  xlc -qarch=pwr7 -qhot -qsimd -q64 test.c
    ipa: simd_util.cpp:103: int log2_int(int):
       Assertion `x != 0' failed.
    Calling signal handler...
    1586-494 (U) INTERNAL COMPILER ERROR: Signal 6.
    xlc: 1501-230 (S) Internal compiler error; please contact your
    Service Representative. For more information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    >
    

Local fix

  • Do not use -qsimd
    

Problem summary

  • PROBLEM DESCRIPTION:
    Integer overflow in the IPA SIMD compiler step when loading the
    constant 0xFFFFFFFF in the source program.
    
    USERS AFFECTED:
    Users on using -qsimd.
    

Problem conclusion

  • The issue was corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77004

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-28

  • Closed date

    2012-08-28

  • Last modified date

    2012-08-28

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

    LI76802

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021