A fix is available
APAR status
Closed as program error.
Error description
When constructing a multi-variate array with an implied-do constructor, the compiler is generating incorrect values. For example, the following implied-do constructor: INTEGER, PARAMETER :: indices(36) & = (/ ((((16 + i + j*3 + k*12 + l*48, i=0,1), & j=0,2), k=0,2),l=0,1) /) , gives the following output: =============== Expected Output: 16 17 19 20 22 23 28 29 31 32 34 35 40 41 43 44 46 47 64 65 67 68 70 71 76 77 79 80 82 83 88 89 91 92 94 95 ============= Actual Output: 16 17 22 23 28 29 18 20 24 26 30 32 24 27 30 33 36 39 16 17 22 23 28 29 18 20 24 26 30 32 24 27 30 33 36 39
Local fix
Problem summary
PROBLEM DESCRIPTION: The Fortran compiler may incorrectly process long ac-value expressions in an array constructor. This may cause applications to produce incorrect results. USERS AFFECTED: Users may encounter this problem if their application contains array constructors involving long expressions as ac-values.
Problem conclusion
The problem has been fixed.
Temporary fix
Comments
APAR Information
APAR number
LI77424
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:
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
RD10 PSN IV38464
UP06/09/13
[{"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