IV38653: CONTINUATION SYMBOL & IS NOT PROPERLY HANDLED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Consider the following tescase:
    
    
    $cat test.f90
    !******************************************
    PROGRAM test
    
      CALL sub('1. line at', __LINE__)
    
      CALL sub('2. &
            &line near', 6)
    
      CALL sub('3. &
            &line near', __LINE__)
    
    CONTAINS
    
      SUBROUTINE sub(text, line)
        CHARACTER(len=*), INTENT(in):: text
        INTEGER, INTENT(in) :: line
        WRITE(0,*) text, line
      END SUBROUTINE sub
    
    END PROGRAM test
    !******************************************
    
    
    Compiler incorrectly failes to compile the file "test.f90":
    
    xlf90_r -qsuffix=cpp=f90 test.f90
    
    with the following output:
    --------------------------------------------------------
    "test.f90", line 9.21: 1513-061 (S) Actual argument attributes
    do not match those specified by an accessible explicit
    interface.
    ** test   === End of Compilation 1 ===
    1501-511  Compilation failed for file test.f90.
    --------------------------------------------------------
    

Local fix

  • Do not split the affected code on separate lines.
    
    For the given testcase change from:
    
    CALL sub('3. &
           &line near', __LINE__)
    
    to:
    
    CALL sub('3. line near', __LINE__)
    

Problem summary

  • s Preprocessing of line continuation for string literal is
    broken
    

Problem conclusion

  • Problem had been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV38653

  • 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

    2013-03-26

  • Closed date

    2014-12-17

  • Last modified date

    2014-12-17

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

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

    IV68039

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RD10 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

XL C for AIX
Compiler

Software version:

D10

Reference #:

IV38653

Modified date:

2014-12-17

Translate my page

Machine Translation

Content navigation