IBM Support

LI76583: 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

    LI76583

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-09

  • Closed date

    2012-01-09

  • Last modified date

    2012-01-09

  • 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++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76583

Modified date: 09 January 2012


Translate this page: