- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compilation of the following code produces an ifort 19.1.2.254 internal abort, no options required
!ifort Internal abort
print *, f()
contains
function f()
integer :: f(iargc()*10)
end
end
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed it does, a compiler bug for sure. However, the code is also not valid Fortran as an arbitrary external function is not allowed in a specification expression.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Steve, I remember we interacted years ago on the ifort beta program.
Yes the program is illegal, but ifort should give a meaningful error message,
and never crash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I agree completely - but it wasn't clear to me that you understood the code was not valid.

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