Fixes are available
APAR status
Closed as program error.
Error description
The following error occurs at runtime while using "-qrealsize=8 -qintsize=8 -qflttrap=en:nanq -qsigtrap -qarch=auto -qlist -O2" flags during compilation of test.f source file. $cat test.f real,allocatable :: r(:,:,:) integer,allocatable :: i(:,:,:) allocate(r(1,1,1)) allocate(i(1,1,1)) i(:,:,:)=-1 r(:,:,:)=-1.0 r(:,:,:)=r(:,:,:)-real(i(:,:,:)) write (0,*) "i,r",i,r deallocate(r) deallocate(i) end
Local fix
Do not use optimization (-O2) or -qarch=auto flags
Problem summary
-qflttrap=nanq trap on conversion of integer to floating point when integer value resembles a NaN
Problem conclusion
A minor optimization improving conversion of integer to floating point will be suppressed when -qflttrap=nanq is used. In that situation the performance impact will be negligible.
Temporary fix
Comments
APAR Information
APAR number
LI75466
Reported component name
XL FORTRAN RHEL
Reported component ID
5724U8410
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-04-27
Closed date
2010-04-27
Last modified date
2010-04-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 RHEL
Fixed component ID
5724U8410
Applicable component levels
RC10 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSB259","label":"XL Fortran Advanced Edition for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C.1","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
24 February 2022