- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A minor issue, but ifort/ifx should really generate a compile-time
error if g0 is used as a descriptor on input, at least with
-stand used; even if it is a useful extension I cannot figure out
the use for (??).
ifort testit.f90 -stand f18 -warn all
./a.out
10 33000.00 0 0
program testit
character(len=:),allocatable :: str
character(len=256) :: iomsg
integer :: i,iostat,j,k
real :: r
i=-999
j=i
k=i
str='10 3.3+4 '
read(str,'(g0,g0,i3,f6.2)',iostat=iostat,iomsg=iomsg)j,k,i,r
if(iostat.eq.0)then
write(*,*)i,r,j,k
else
write(*,*)trim(iomsg)
endif
end program testit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will get a bug report started on this one. Thanks for bringing this to us!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will get a bug report started on this one. Thanks for bringing this to us!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bug ID is CMPLRLLVM-43083
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This bug is fixed in 2023.2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this bug is fixed in 2023.2.0

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page