IBM Support

LI77064: 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

    LI77064

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5799AH100

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-23

  • Closed date

    2012-11-23

  • Last modified date

    2012-11-23

  • 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 FOR

  • Fixed component ID

    5799AH100

Applicable component levels

  • RE10 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS2MB5","label":"XL Fortran for Blue Gene\/Q"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"ALL VERSIONS","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
23 November 2012