IBM Support

IV44215: INCORRECT IMPLIED-DO ARRAY CONSTRUCTION

Subscribe

You can track all active APARs for this component.

 

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

    IV44215

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5725C7400

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-14

  • Closed date

    2013-06-14

  • Last modified date

    2013-06-17

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

    IV38464

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

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5725C7400

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH4D","label":"XL Fortran for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"14.1"}]

Document Information

Modified date:
01 October 2021