APAR status
Closed as program error.
Error description
The compiler produces an Internal Compiler Error when trying to compile the following testcase: ===== COMPILE COMMAND: xlc -c test.c ===== TESTCASE: $ cat test.c int func1(void) { register __vector unsigned int temp0 = {4,4,4, 4}; register __vector unsigned int temp1= temp0<<1; //{8,8,8,8} temp1=temp1 <<1 ; return 1; } $ ===== ACTUAL OUTPUT: $ /opt/ibm/xlC/16.1.1/bin/.orig/xlc: error: 1501-230 Internal compiler error; please contact your Service Representative. For more information visit: http://www.ibm.com/support/docview.wss?uid=swg21110810 $ ===== EXPECTED OUTPUT: Should not produce an internal compiler error.
Local fix
N/A
Problem summary
USERS AFFECTED: Users who have altivec code such as "v << 1", which generates VectorSplat on the integer literal may generate the problematic ExtVectorType. PROBLEM DESCRIPTION: Clang AST that generate ExtVectorType will cause the compiler frontend to abend.
Problem conclusion
ExtVectorType is a derived type of VectorType, which the compiler knows how to translate. Enabling the existing translation for ExtVectorType generates the desired code for the compiler backend.
Temporary fix
Comments
APAR Information
APAR number
LI81120
Reported component name
XL C/C++ LINUX
Reported component ID
5725C7310
Reported release
G11
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-11-28
Closed date
2019-11-28
Last modified date
2019-11-28
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++ LINUX
Fixed component ID
5725C7310
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
28 November 2019