IBM Support

IV75529: INTERNAL COMPILER ERROR WITH INLINE TEMPLATE FUNCTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An internal compiler error is encountered in the xlCcode
    component of the compiler when optimization is used with code
    containing template functions with the 'inline' qualifier.
    
    
    Example code snippet:
    
    template <class T>
    inline
    typename My_Template_Class<T>::Type
    My_Template_Class<T>::forward(typename For_Type<T>::Type v)
    {
        return For_Type<T>::forward(v);
    }
    
    
    Example error output:
    
    1500-004: (U) INTERNAL COMPILER ERROR while compiling ----.
    Compilation ended.  Contact your Service Representative and
    provide the following information: Internal abort. For more
    information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    

Local fix

  • Compile with no optimization, or -qnoinline
    

Problem summary

  • PROBLEM DESCRIPTION:
    The code inliner component of the compiler is missing the
    unwinding of a typedef.
    
    USERS AFFECTED:
    The problem affects inlining with complex typedefs and function
    pointers.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV75529

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-07-28

  • Closed date

    2015-07-28

  • Last modified date

    2015-07-28

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

    IV71002

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

Fix information

  • Fixed component name

    XL C/C++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"13.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
19 August 2024