IV49620: INTERNAL COMPILER ERROR IN XLFENTRY WITH CYCLICAL TYPE DECLARATION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The below test case shows an Internal Compiler Error in XLF
    with cyclical type declaration.
    
    ===== TESTCASE:
    $cat 30425.999.796.types.f90
    MODULE TYPES
    
      TYPE DISTRIBUTED_VECTOR_TRANSFER_TYPE
      END TYPE DISTRIBUTED_VECTOR_TRANSFER_TYPE
    
      TYPE DISTRIBUTED_VECTOR_CMISS_TYPE
        TYPE(DISTRIBUTED_VECTOR_TRANSFER_TYPE), ALLOCATABLE ::
    TRANSFERS(:)
      END TYPE DISTRIBUTED_VECTOR_CMISS_TYPE
    
      TYPE DISTRIBUTED_VECTOR_TYPE
        TYPE(DISTRIBUTED_VECTOR_CMISS_TYPE), POINTER :: CMISS
      END TYPE DISTRIBUTED_VECTOR_TYPE
    
      TYPE EQUATIONS_MATRIX_TYPE
        TYPE(EQUATIONS_MATRICES_LINEAR_TYPE), POINTER ::
    LINEAR_MATRICES
        TYPE(DISTRIBUTED_VECTOR_TYPE), POINTER :: TEMP_VECTOR
      END TYPE EQUATIONS_MATRIX_TYPE
    
      TYPE EQUATIONS_MATRIX_PTR_TYPE
        TYPE(EQUATIONS_MATRIX_TYPE), POINTER :: PTR
      END TYPE EQUATIONS_MATRIX_PTR_TYPE
    
      TYPE EQUATIONS_MATRICES_DYNAMIC_TYPE
        TYPE(EQUATIONS_MATRIX_PTR_TYPE), ALLOCATABLE :: MATRICES(:)
      END TYPE EQUATIONS_MATRICES_DYNAMIC_TYPE
    
      TYPE EQUATIONS_MATRICES_LINEAR_TYPE
        TYPE(EQUATIONS_MATRIX_PTR_TYPE), ALLOCATABLE :: MATRICES(:)
      END TYPE EQUATIONS_MATRICES_LINEAR_TYPE
    
      TYPE EQUATIONS_MATRICES_TYPE
        TYPE(EQUATIONS_MATRICES_DYNAMIC_TYPE), POINTER ::
    DYNAMIC_MATRICES
      END TYPE EQUATIONS_MATRICES_TYPE
    
    END MODULE TYPES
    
    
    xlf90_r 30425.999.796.types.f90 -c
    1501-230 (S) Internal compiler error; please contact your
    Service Representative. For more information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    1501-511  Compilation failed for file 30425.999.796.types.f90.
    

Local fix

  • Remove the cyclical type declaration.
    

Problem summary

  • PROBLEM DESCRIPTION: In some cases, recursive types containing
    allocatable components can cause an internal compiler errors
    while creating default finalization routines.
    
    USERS AFFECTED: Users of XL Fortran 13.1 and above with
    recursive types in the source program during compilation.
    

Problem conclusion

  • The problem has been fixed. Apply applicable service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV49620

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5725C7400

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-18

  • Closed date

    2013-09-18

  • Last modified date

    2013-09-20

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

    IV45808

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

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5725C7400

Applicable component levels

  • RE10 PSY U861038

       UP C



Rate this page:

(0 users)Average rating

Document information


More support for:

XL Fortran for AIX
Compiler

Software version:

14.1

Reference #:

IV49620

Modified date:

2013-09-20

Translate my page

Machine Translation

Content navigation