IBM Support

LI78481: CONTINUATION SYMBOL & IS NOT PROPERLY HANDLED

Subscribe

You can track all active APARs for this component.

 

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

    LI78481

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-25

  • Closed date

    2015-02-25

  • Last modified date

    2015-02-25

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

    IV38653

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"13.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
17 October 2021