- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
wan't to ask if it's permitted to define certain restrictions on the shape of assumed shape arrays?
For example something like:
integer(GST_IK), intent(in) :: lm(2,:)
Thanks for advice
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think this is legal, though Intel Fortran accepts it - a bug in my opinion. Even if it were accepted, it would not be a "restriction" but rather a sort of subset.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think this is legal, though Intel Fortran accepts it - a bug in my opinion. Even if it were accepted, it would not be a "restriction" but rather a sort of subset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for adding that. I'll make sure the developers know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This problem has been fixed. I expect the fix to appear in update 1 to the 16.0 compiler.

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