Skip to main content

IV31633: XLF ERROR IN SINGLECONVERSION


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following testcase fails to compile:
    
    
    % cat test.f90
    
         character(len=1) :: h(1:100) = (/ ( (' ',i=1,9), '|',
    j=1,10) /)
         print *, h
         stop
         end
    
    % bgxlf90 -o test test.f90
    "test.f90", line 1.46: 1517-005 (U) Error in SingleConversion.
    Please contact your Service Representative.  For more
    information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    1501-511  Compilation failed for file test.f90.
    

Local fix

  • Workaround 1:
    
    
    Get rid of the nested ac-implied do.  i.e. change the code to
    the following:
    
         character(len=1) :: h(1:100) = ' '
         h(10:100:10) = '|'
    
    Workaround 2:
    
    Separate array construction from declaration.
    
         character(len=1) :: h(1:100)
         h = (/ ( (' ',i=1,9), '|', j=1,10) /)
         print *, h
         stop
    

Problem summary

  • Compilation may fail due to ICE when processing nested
    array-constructors in static initialization.
    

Problem conclusion

  • The problem had been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV31633

  • 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

    2012-11-08

  • Closed date

    2012-11-08

  • Last modified date

    2012-11-08

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

    LI77016

  • 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

  • RE10 PSY U856076

       UP C

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

XL Fortran for AIX

Compiler


Software version:
14.1


Reference #:
IV31633


Modified date:
2012-11-08

Translate my page

Content navigation