Fixes are available
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
LI75329
Reported component name
XL C/C++ RHEL5
Reported component ID
5724S7310
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-11
Closed date
2010-03-11
Last modified date
2010-03-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/C++ RHEL5
Fixed component ID
5724S7310
Applicable component levels
R900 PSN IZ59844
UP06/09/13
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
16 October 2021