IBM Support

IZ62633: NESTING OVERFLOW ISSUES WITH -G

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using -g and inline asm, the compiler generates debug
    information that the assembler does not currently understand.
    As a result of this, the assembler may produce error messages
    similar to the following:
    
    Assembler:
    assembler_ppc64.s: line 23258: Nesting overflow
    assembler_ppc64.s: line 23268: Nesting overflow
    assembler_ppc64.s: line 23344: Nesting overflow
    assembler_ppc64.s: line 23396: Nesting overflow
    .
    .
    .
    

Local fix

  • A current workaround is to avoid using '-g' for the files that
    see the error messages.
    

Problem summary

  • USER AFFECTED:
    Users compiling a file with many functions using -g, higher
    level of
    optimization (-O2 and above), some inline functions, and inline
    ASM
    constructs.
      
    PROBLEM DESCRIPTION:
    The compiler generates an assembly file when inline ASM
    constructs are used.
    This assembly file is then sent to the system assembler.
    Without inline ASM
    constructs the compiler avoids this path and functions
    properly.
    In an attempt to provide debug information assembler directives
    are
    issued trying to provide where each instruction comes from.
    With many inlined
    functions and higher level of optimization the complexity of
    these assembler
    directives increases such that an error in the compiler
    resulted in too
    many 'begin inline' directives without matching 'end inline'
    directives.
    

Problem conclusion

  • Compiler fixed to issue matching 'begin inline' and 'end
    inline' directives.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ62633

  • 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

    2009-10-06

  • Closed date

    2010-02-24

  • Last modified date

    2010-03-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    LI75571 LI75602

Fix information

  • Fixed component name

    XL C AIX

  • Fixed component ID

    5724U8000

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:
04 October 2021