Fixes are available
May 2012 PTF for XL C/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
October 2011 PTF for XL C/C++ for AIX, V10.1
February 2012 PTF for XL C/C++ for AIX, V10.1
September 2012 PTF for XL C/C++ for AIX, V10.1
XL C/C++ for AIX Fix Pack 20 (October 2014 PTF) for 10.1
APAR status
Closed as program error.
Error description
An internal compiler error is encountered when using the C++ compiler to compile a program that utilizes the IBM extensions __real__ and __imag__. ===== TESTCASE: test.c: #include <stdio.h> #include <complex.h> main(){ double _Complex a = 3.0 + 4.0i; double c_re = __real__ (~ a); double c_im = __imag__ (~ a); printf("%f\n",c_re); printf("%f\n",c_im); } ===== ACTUAL OUTPUT: # xlC -+ test.c 1500-004: (U) INTERNAL COMPILER ERROR while compiling main. Compilation ended. Contact your Service Representative and provide the following information: Internal abort. For more information visit: http://www.ibm.com/support/docview.wss?uid=swg21110810
Local fix
N/A.
Problem summary
PROBLEM DESCRIPTION: An internal compiler error is encountered with the use of the value obtained using conjugation operator for complex types. USERS AFFECTED: Those using the complex conjugation operator (tilde, compl).
Problem conclusion
Generate correct the correct code to represent the conjugation operation for complex types.
Temporary fix
Comments
APAR Information
APAR number
IV00730
Reported component name
XL C++ AIX
Reported component ID
5724U8100
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-05-19
Closed date
2011-07-11
Last modified date
2011-07-11
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++ AIX
Fixed component ID
5724U8100
Applicable component levels
[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1"}]
Document Information
Modified date:
27 September 2021