IBM Support

LI72377: xlC segmentation fault in xlCcode

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A carefully constructed testcase can cause the compiler to
    abend.
    Changing the length of variable names can introduce or remove
    the problem.
    

Local fix

  • Compile at -O2.
    Compiling in 64-bit mode (-q64) may also allow for a clean
    compile.
    

Problem summary

  • Functions with very very long function names, compiling at -O3
    or above. Typically C++ template class methods with several
    levels on instantiation would yield a function name long
    enough to be affected.
    
    An internal compiler error is produced with XL C/C++ V7.
    Later versions do not contain the problem.
    

Problem conclusion

  • During optimization calculate the size of function name is not
    calculated correctly which results in a corrupted memory data
    structure. The size calculation has been corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI72377

  • Reported component name

    XL C/C++ RHEL4

  • Reported component ID

    5724K7720

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-04-30

  • Closed date

    2007-04-30

  • Last modified date

    2007-04-30

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

    IY91262

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

Fix information

  • Fixed component name

    XL C/C++ RHEL4

  • Fixed component ID

    5724K7720

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
16 October 2021