Fixes are available
December 2012 Update for XL Fortran for Linux, V14.1
April 2013 Update for XL Fortran for Linux, V14.1
XL Fortran for Linux Fix Pack 4 (October 2013 Update) for 14.1
XL Fortran for Linux Fix Pack 5 (December 2013 Update) for 14.1
XL Fortran for Linux Fix Pack 6 (February 2014 Update) for 14.1
XL Fortran for Linux Fix Pack 7 (May 2014 Update) for 14.1
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
LI77128
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
2012-12-17
Closed date
2012-12-17
Last modified date
2012-12-17
APAR is sysrouted FROM one or more of the following:
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
RE10 PSY
UP
[{"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