IV21461: INTERNAL COMPILER ERROR IN XLCCODE WITH -O2
Fixes are available
January 2013 PTF for XL C for AIX, V10.1
January 2013 PTF for XL C/C++ for AIX, V10.1
XL C/C++ for AIX Fix Pack 18 (July 2013 PTF) for 10.1
XL C/C++ for AIX Fix Pack 19 (October 2013 PTF) for 10.1
XL C/C++ for AIX Fix Pack 21 (October 2015 PTF) for 10.1
XL C for AIX Fix Pack 21 (October 2015 PTF) for 10.1
September 2012 PTF for XL C for AIX, V10.1
September 2012 PTF for XL C/C++ for AIX, V10.1
XL C for AIX Fix Pack 18 (July 2013 PTF) for 10.1
XL C for AIX Fix Pack 19 (October 2013 PTF) for 10.1
XL C for AIX Fix Pack 20 (October 2014 PTF) for 10.1
XL C/C++ for AIX Fix Pack 20 (October 2014 PTF) for 10.1
Closed as program error.
When compiling a large testcase with -O2, the compiler abends in the xlCcode section of the compiler. The issue appears to be related to the use of -O2 with -g and -qcheck=all. ===== COMPILE COMMAND: xlC_r -c -O2 -q64 -qstrict -qrtti=all -Q -qmaxmem=-1 -g -qlibansi -qro -qroconst -qcheck=all -qtls a.cxx ===== ACTUAL OUTPUT: Internal compiler error in xlCcode ===== EXPECTED OUTPUT: The compiler should not produce an internal compiler error.
USERS AFFECTED: C users can be affected by this issue. PROBLEM DESCRIPTION: The compiler produces an internal compiler error when compiling a C program.
An additional check is performed that prevents the optimizer from entering an error condition and causing an internal compiler error.
Reported component name
XL C++ AIX
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
XL C AIX
Fixed component ID
Applicable component levels
More support for:
Software version: A.1
Reference #: IV21461
Modified date: 24 August 2012
Translate this page: