IBM Support

LI77249: SIMD_UTIL.CPP:102 ASSERTION ERROR AT -O3

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The compiler may issue internal compiler error while using -O3
    optimization.
    
    xlC -O3 -I. -c test.cc
    ipa: simd_util.cpp:102: int log2_int(int): Assertion ´x != 0'
    failed.
    Calling signal handler...
    1586-494 (U) INTERNAL COMPILER ERROR: Signal 6.
    /gsa/tlbgsa/projects/x/xlcmpbld/run/vacpp/121_com/bgq/daily/1302
    25/opt/ibmcmp/vacpp/bg/12.1/bin/.orig/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

  • Use either noopt or any optimization other than -O3, also -O3
    together with -qhot or -qhot=nosimd
    

Problem summary

  • Compiler optimizer is trying to perform SIMD optimizations for
    architectures that do not support vector instructions.
    

Problem conclusion

  • Fixed the ICE by disabling SIMD for archs that do not support
    vector instructions.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77249

  • 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 / Xsystem

  • Submitted date

    2013-03-04

  • Closed date

    2013-05-29

  • Last modified date

    2013-05-29

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

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS2LWA","label":"XL C\/C++ for Blue Gene\/Q"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
05 September 2024