IV45872: INTERNAL ERROR WITH USE IN EXTERNAL FUNCTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Fortran code with a USE statement in an external function is
    encountering an internal compiler error in the xlfentry
    component of the comiler.
    
    
      ====  TEST CASE  ====
    
    Code with USE usage similar to:
    
    MODULE module_1
      CONTAINS
        SUBROUTINE mysub(parent)
          USE module_domain
          TYPE(domain),POINTER  :: parent
        END SUBROUTINE mysub
    END MODULE module_1
    
    LOGICAL FUNCTION myfunc()
      USE module_1
      myfunc = .TRUE.
    END FUNCTION myfunc
    
    
    $ xlf90_r -c module_dm.f90
    ** module_1   === End of Compilation 1 ===
    xlf90_r: 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 module_dm.f90.
    $
    

Local fix

Problem summary

  • USERS AFFECTED:
    Clients making use of the USE statement maybe affected by this
    issue.
    
    PROBLEM DESCRIPTION:
    When a USE statement appears inside an external function, and
    the USE module contains derived type
    definitions written a certain way and involving types accessed
    via USE only statements, an internal compiler error occurs.
    

Problem conclusion

  • The compiler has been fixed to avoid the internal compiler
    error for the above case.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV45872

  • 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-07-19

  • Closed date

    2013-09-18

  • Last modified date

    2013-09-20

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

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

    LI77663 LI77681

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

Add comments

Document information


More support for:

XL Fortran for AIX
Compiler

Software version:

14.1

Reference #:

IV45872

Modified date:

2013-09-20

Translate my page

Machine Translation

Content navigation