IBM Support

IZ89585: INTERNAL COMPILER ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An internal compiler error is reported.
    
    ===== Test Case
    module scalar_tensor_module
       type, abstract :: scalar_tensor
        contains
         procedure(add_interface),deferred:: add
         procedure(assign_interface),deferred:: assign
         generic :: operator(+)=>add
         generic :: assignment(=)=>assign
       end type
       abstract interface
         function add_interface(lhs,rhs)
          import :: scalar_tensor
          class(scalar_tensor),intent(in) :: lhs,rhs
          class(scalar_tensor),allocatable :: add_interface
         end function
         subroutine assign_interface(lhs,rhs)
          import :: scalar_tensor
          class(scalar_tensor),intent(inout) :: lhs
          class(scalar_tensor),intent(in) :: rhs
         end subroutine
       end interface
    end module
    
    module tensor_module
       use scalar_tensor_module
    
       type, extends(scalar_tensor) :: tensor
         contains
         procedure  :: add
         procedure :: assign
       end type
    
       contains
    
       function add(lhs,rhs)
        class(tensor),intent(in) :: lhs
        class(scalar_tensor),intent(in) :: rhs
        class(scalar_tensor),allocatable :: add
        allocate(tensor::add)
       end function
    
       subroutine assign(lhs,rhs)
        class(tensor),intent(inout) :: lhs
        class(scalar_tensor), intent(in) :: rhs
       end subroutine
    
    end module
    
    program main
      use tensor_module , only: tensor
      use scalar_tensor_module, only: scalar_tensor
    
      type(tensor),target :: t1
      class(scalar_tensor),pointer :: st1
    
      t1=t1 +t1
      st1=>t1
      st1=st1+st1
    end
    =================================================
    

Local fix

  • Within 'program main', rearrange the order of the 'use'
    statements.
    
    ...
    program main
      use scalar_tensor_module, only: scalar_tensor !<- place 1st
      use tensor_module , only: tensor
    ...
    

Problem summary

  • PROBLEM DESCRIPTION:
    The compiler encounters an internal compiler error in a
    particular area of the compiler due to a front end bug.
    
    USERS AFFECTED:
    This is a design bug, so users who have XLF 11.1 and later will
    have this problem if they have a specific order of using
    modules.
    

Problem conclusion

  • This bug will be fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ89585

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5724X1500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-22

  • Closed date

    2011-03-08

  • Last modified date

    2011-03-08

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

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

    LI76066

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5724X1500

Applicable component levels

  • RD10 PSY U842152

       UP C

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH4D","label":"XL Fortran for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"13.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
08 March 2011