Fixes are available
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
LI76802
Reported component name
XL C/C++ FOR LI
Reported component ID
5724X1400
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2012-05-24
Closed date
2012-05-24
Last modified date
2012-05-24
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 LI
Fixed component ID
5724X1400
Applicable component levels
RB10 PSY
UP
[{"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":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
17 October 2021