- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
the following program should be valid Fortran but is rejected by ifx 2025.0:
module m
implicit none
contains
subroutine sub1 (y)
integer, pointer, intent(in) :: y(..)
call sub2 (y)
end
subroutine sub2 (x)
integer, pointer, intent(in) :: x(..)
end
endI get:
% ifx ifx-assumed-rank.f90
ifx-assumed-rank.f90(6): error #8793: This assumed-rank variable must not appear in a designator or expression in this context. [Y]
call sub2 (y)
---------------^
compilation aborted for ifx-assumed-rank.f90 (code 1)Several other brands (including NAG) accept the code.
Thanks,
Harald
Link Copied
0 Replies
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