- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some reason ifort complains about error stop not being part of the 2008 standard.
[plain]
[raul@desk ~]$ cat main.f90
error stop
end program
[raul@desk ~]$ ifort main.f90 # no problems here
[raul@desk ~]$ ifort -std08 main.f90
main.f90(1): warning #6477: Fortran 2008 does not allow this statement or directive.
error stop
--^
[/plain]
A small bug or have I misunderstood something?
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A compiler bug. Already escalated as issue DPD200235770. There are some other F08 features that are also improperly flagged, such as LOCK and UNLOCK and some new intrinscs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This has been fixed for a future (2014) release of the compiler. It probably won't be included in an update.

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