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

  • 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



Rate this page:

(0 users)Average rating

Document information


More support for:

XL Fortran for Linux

Software version:

13.1

Reference #:

LI77423

Modified date:

2013-06-11

Translate my page

Machine Translation

Content navigation