IBM Support

LI76281: INTERNAL ERROR WITH __REAL__ AND __IMAG__

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An internal compiler error is encountered when using the C++
    compiler to compile a program that utilizes the IBM extensions
    __real__ and __imag__.
    
    ===== TESTCASE:
    test.c:
    
    #include <stdio.h>
    #include <complex.h>
    
    main(){
      double _Complex a = 3.0 + 4.0i;
      double c_re = __real__ (~ a);
      double c_im = __imag__ (~ a);
      printf("%f\n",c_re);
      printf("%f\n",c_im);
    }
    
    
    ===== ACTUAL OUTPUT:
    # xlC -+ test.c
    1500-004: (U) INTERNAL COMPILER ERROR while compiling main.
    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

  • N/A.
    

Problem summary

  • PROBLEM DESCRIPTION:
    An internal compiler error is encountered with the use of the
    value obtained using conjugation operator for complex types.
    
    USERS AFFECTED:
    Those using the complex conjugation operator (tilde, compl).
    

Problem conclusion

  • Generate correct the correct code to represent the conjugation
    operation for complex types.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76281

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-07-12

  • Closed date

    2011-07-12

  • Last modified date

    2011-07-12

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

    IZ99365

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5724X1400

Applicable component levels

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
16 October 2021