- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's a silly little problem I don't believe I've reported before, but which probably ought to be fixed. The 14.0.2 and earlier compilers all complain about the following code
[fortran]
program main
open(newunit=n,status='replace',file='foo')
end program
[/fortran]
reporting
intel-bug-20121024.f90(19): error #8414: If NEWUNIT appears in OPEN statement either FILE or STATUS (with value SCRATCH) specifiers must appear. [STATUS]
open(newunit=n,status='replace',file='foo')
---------------^
Clearly the compiler is not completely parsing the OPEN statement before checking the constraints for NEWUNIT. I see nothing in the standard that requires a particular order of the indentifiers.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind. By happenstance Steve recently replied to a very old topic started by dogunter, which I just read. It turns out I did report this bug to my institutional HPC support and that was the basis for the old topic. The issue ID is DPD200238261.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page