APAR status
Closed as program error.
Error description
When compiling the following test case, the compiler leads to an Internal Compiler Error: ====TESTCASE: $ cat test.cpp #include<new> static const int val = 42; extern long arr[1]; void foo(const long &a) { (val == 42) ? 0 : ((void) (new (&arr[0]) long (a)), 0); } $
Local fix
N/A
Problem summary
USERS AFFECTED: Users that have test cases which make use of conditional expression with new on either the dead true or false side maybe affected by this issue. PROBLEM DESCRIPTION: Dead code elimination fails to mark dead EH state table entries removed, leading to compiler abend.
Problem conclusion
The fix marks the dead expression EH state table entries removed.
Temporary fix
Comments
APAR Information
APAR number
IJ36768
Reported component name
XL C/C++ FOR AI
Reported component ID
5725C7200
Reported release
D13
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-12-21
Closed date
2021-12-21
Last modified date
2021-12-21
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 AI
Fixed component ID
5725C7200
Applicable component levels
[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]
Document Information
Modified date:
22 December 2021