IBM Support

LI77651: ASSERTION `SCOPE_DIFF > 0' FAILED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compiling a Fortran application encounters the following
    internal error in the xlfcode component of the compiler.  No
    optimization is enabled.
    
    
    xlfcode:cw_breg.c:239: load_backchain: Assertion
                `scope_diff > 0' failed.
    
    /opt/ibmcmp/xlf/bg/14.1/bin/.orig/xlf90_r: 1501-224 (S) fatal
    error in /opt/ibmcmp/xlf/bg/14.1/exe/xlfcode: signal 6 received
    

Local fix

Problem summary

  • PROBLEM DESCRIPTION:
    The compiler encounters an internal error when calling a
    Fortran procedure with an assumed-size or explicit shape
    argument that also has an optional character argument with
    assumed-length.  For example:
    
    test.f90:
    contains
    
    SUBROUTINE t1(afull, mat_label)
    implicit none
    real :: afull(*)
    character(*), optional :: mat_label
    END SUBROUTINE
    
    SUBROUTINE t2()
    implicit none
    real, pointer   :: U_full(:)
    
    call t1(U_full)
    
    END SUBROUTINE
    
    END
    
    USERS AFFECTED:
    Users who have procedures with OPTIONAL assumed-length
    character arguments.
    

Problem conclusion

  • Fixed the interface to handle optional assumed-length character
    dummy arguments that are not present.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77651

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5725C7500

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-28

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

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

    LI77227

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

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5725C7500

Applicable component levels

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

Document Information

Modified date:
14 October 2021