The compilation of the following code produces an ifort 220.127.116.11 internal abort, no options required
!ifort Internal abort
print *, f()
integer :: f(iargc()*10)
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.