APAR status
Closed as program error.
Error description
The compiler abends when trying to compile the following testcase using -qcheck: =======TESTCASE: $ cat t.cc bool color_set[3]; int foo(void) { color_set[0] = 0; } ========COMPILE COMMAND: xlc_r -+ t.cc -qcheck -c ========ACTUAL OUTPUT: $ xlc_r -+ t.cc -qcheck -c Line ? Displ 00000000000019E0 OD_diff::alloc_opt0(PlObj&, CtObj&, FastPlSummary&, Opt0Allocator&, int) const Line ? Displ 000000000000194C OD_diff::alloc_opt0(PlObj&, CtObj&, FastPlSummary&, Opt0Allocator&, int) const Line ? Displ 0000000000000BB4 OD_regcantbe_when_toc::alloc_opt0(PlObj&, CtObj&, FastPlSummary&, Opt0Allocator&, int) const Line ? Displ 00000000000013FC OpDesc::alloc_opt0(PlObj&, CtObj&, Opt0Allocator&) const Line ? Displ 000000000000008C PlObj::alloc_opt0(CtObj&, Opt0Allocator&) Line ? Displ 00000000000001CC fast_cobra Line ? Displ 0000000000000860 ra Line ? Displ 0000000000000604 regallo Line ? Displ 0000000000000194 IPRA.$invoke_tobey Line ? Displ 0000000000000DD8 xlator_main Line ? Displ 00000000000000D8 main xlator_terminate..000000000000005C main..00000000000001AC $ ========EXPECTED OUTPUT: Compiler should no abend
Local fix
N/A
Problem summary
USERS AFFECTED: Users compiling at -O0 with -qcheck may be affected by this issue. PROBLEM DESCRIPTION: The compiler produces a segfault when compiling certain test case at -O0 with -qcheck due to an incorrect compiler optimization.
Problem conclusion
The compiler optimization is now fixed.
Temporary fix
Comments
APAR Information
APAR number
LI80797
Reported component name
XL C/C++ FOR LI
Reported component ID
5725C7300
Reported release
G11
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-05-03
Closed date
2019-06-21
Last modified date
2019-06-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++ 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:
21 June 2019