IBM Support

LI77423: COMPILER NO LONGER DIAGNOSES ARRAY CONSTRUCTORS VALUES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCRIPTION: XL Fortran no longer diagnoses array
    constructors containing array constructor values with
    different length type parameters whose values are known at
    compile time.
    
    
    USERS AFFECTED: Users of XL Fortran 13.1 and XL Fortran 14.1 on
    all platforms
    
    Since XLF will silently use the length type parameter values of
    the first array constructor value, some values in the array
    constructor may be truncated.
    
    e.g.  character(10) :: x(2) = ['abc', 'abcde']  ! second value
    will be truncated
          character(10) :: y(2) = ['abcde', 'abc']  ! no truncation
    since first value is longest
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users of XL Fortran are potentially affected by this issue.
    
    PROBLEM DESCRIPTION:
    XL Fortran no longer diagnoses array constructors containing
    array constructor values with
    different length type parameters whose values are known at
    compile time.
    
    Since XLF will silently use the length type parameter values of
    the first array
    constructor value, some values in the array constructor may be
    truncated.
    e.g.  character(10) :: x(2) = ['abc', 'abcde']  ! second value
    will be truncated
    character(10) :: y(2) = ['abcde', 'abc']  ! no truncation since
    first value is longest
    

Problem conclusion

  • The problem has been fixed. The fix enables array constructors
    that do not appear
    as selectors in ASSOCIATE.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77423

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5724X1600

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-06-11

  • Closed date

    2013-06-11

  • Last modified date

    2013-06-11

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

    IV30618

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

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5724X1600

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":"D10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021