IBM Support

IZ52122: COMPILER MEMORY ERROR WITH INLINING

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling very large source files (23,000+ lines) with the
    -Q inlining option, the compiler's memory usage grows and grows
    until an internal compiler error occurs.
    

Local fix

  • Remove the -Q inlining option.
    

Problem summary

  • USERS AFFECTED:
    The problem is with overload resolution with a large number of
    template function candidates.
    
    PROBLEM DESCRIPTION:
    The compiler may run out of memory while processing a large
    number of template function candidates in overload resolution,
    either in a single function body or when attempting to inline
    into a single function body.
    

Problem conclusion

  • The process of selecting and instantiating template function
    candidates for overload resolution has been improved so it does
    not require as much processing and memory at compile-time.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ52122

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724M1200

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-05-26

  • Closed date

    2009-10-01

  • Last modified date

    2009-10-14

Fix information

  • Fixed component name

    XLC C++ AIX

  • Fixed component ID

    5724M1200

Applicable component levels

  • R800 PSY U829984

       UP C



Document information

More support for: XL C/C++
Compiler

Software version: 8.0

Reference #: IZ52122

Modified date: 14 October 2009


Translate this page: