Fixes are available
January 2010 PTF for XL Fortran Enterprise Edition for AIX, V11.1
May 2010 PTF for XL Fortran Enterprise Edition for AIX, V11.1
November 2010 PTF for XL Fortran Enterprise Edition for AIX, V11.1
March 2011 PTF for XL Fortran Enterprise Edition for AIX, V11.1
July 2011 PTF for XL Fortran Enterprise Edition for AIX, V11.1
December 2011 PTF for XL Fortran Enterprise Edition for AIX, V11.1
January 2009 PTF for XL Fortran Enterprise Edition for AIX, V11.1
April 2009 PTF for XL Fortran Enterprise Edition for AIX, V11.1
APAR status
Closed as program error.
Error description
The compiler abends for the following test case with the following compile line: Compile Line: xlf95 -c test.f ===== TESTCASE: $cat test.f module test implicit none contains elemental function rul(ss) character(len=*),intent(in):: ss character(len=len(ss)):: rul integer:: i,ia do i=1,len(ss) rul(i:i)=ss(i:i) enddo end function rul subroutine sortc(n, x) integer,intent(in):: n character(len=*),intent(inout):: x(n) character(len=len(x)):: xx(n) integer:: i xx=rul(x) end subroutine sortc end module test ===== ACTUAL OUTPUT: Internal compiler error; please contact your Service Representative ===== EXPECTED OUTPUT: Should not ICE.
Local fix
n/a
Problem summary
Users of elemental functions that return characters with runtime length are affected by this issue. The compiler abends due to bad code generation by upper stream components.
Problem conclusion
The compiler was fixed to generate correct instructions to load the element length of a character array used in an elemental function.
Temporary fix
Comments
APAR Information
APAR number
IZ38369
Reported component name
XL FORTRAN AIX
Reported component ID
5724S7200
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-11-21
Closed date
2008-11-25
Last modified date
2009-01-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL FORTRAN AIX
Fixed component ID
5724S7200
Applicable component levels
Document Information
Modified date:
24 February 2022