Fixes are available
November 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
November 2010 PTF for XL C Enterprise Edition for AIX, V9.0
March 2011 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
March 2011 PTF for XL C Enterprise Edition for AIX, V9.0
July 2011 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
December 2011 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
March 2012 PTF for XL C Enterprise Edition for AIX, V9.0
March 2012 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
January 2010 PTF for XL C Enterprise Edition for AIX, V9.0
January 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
May 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
May 2010 PTF for XL C Enterprise Edition for AIX, V9.0
August 2010 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
August 2010 PTF for XL C Enterprise Edition for AIX, V9.0
July 2011 PTF for XL C Enterprise Edition for AIX, V9.0
December 2011 PTF for XL C Enterprise Edition for AIX, V9.0
APAR status
Closed as program error.
Error description
When compiling a large application at -O4 or -O5, the compiler generated the following error: System error (12): There is not enough memory available now. 1586-346 (U) An error occurred during code generation. The code generation return code was 217.
Local fix
Use -O3
Problem summary
USER AFFECTED: Users using high level of optimization on a compilation unit with very large number of functions to compile. The number of functions could be due to large source file or use of complicated templates generating many templete instantiations. PROBLEM DESCRIPTION: The compiler is facing a huge input task and runs out of memory trying to keep the entire intermediate representation of the program.
Problem conclusion
The initial sizes of tables for the intermediate representation of the program were more appropriately sized. The tables can grow but with better proportions of different tables, all the tables nowc grow with better increments leaving enough memory to complete compilation.
Temporary fix
Comments
APAR Information
APAR number
IZ59844
Reported component name
XLC C++ AIX
Reported component ID
5724S7100
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-09-02
Closed date
2009-12-21
Last modified date
2010-01-05
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
5724S7000
Applicable component levels
Document Information
Modified date:
04 October 2021