IBM Support

IV00385: INCORRECT OUTPUT WITH XLFHOT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following section in a Fortran program gets evaluated
    incorrectly by the compiler resulting in incorrect outputs:
    
    .
    .
    .
        DO jr = 1, imo
          za(jr+1:imo, jr) = za(jr, jr+1:imo)
        ENDDO
    .
    .
    .
    

Local fix

  • A work-around would be to replace the line with the properly
    scalarized assignment:
    
    .
    .
    .
        DO jr = 1, imo
    !      za(jr+1:imo, jr) = za(jr, jr+1:imo)
    !*******workaround************
        DO jn=jr+1, imo
             za(jn, jr) = za(jr, jn)
           ENDDO
    !*******end of workaround*****
        ENDDO
    .
    .
    .
    

Problem summary

  • PROBLEM DESCRIPTION:
    When an array appears within a self assignment with array
    sections in the RHS or LHS of the assignment,
    the assignment may produce incorrect results.
    

Problem conclusion

  • The compiler optimization has now been fixed to check for
    equivalent array sections on the RHS and LHS of an array self
    assignment before executing.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV00385

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5724X1500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-12

  • Closed date

    2011-08-09

  • Last modified date

    2011-08-10

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

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

    LI76466 LI76472

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5724X1500

Applicable component levels

  • RD10 PSY U844586

       UP C

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

Document Information

Modified date:
10 August 2011