- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following DO statement compiles on IFORT 13.1.3.198 [IA-32]:
[fortran]
DO CONCURRENT (i = 1:SIZE(arr1d), j = 1:i-1)
[/fortran]
According to the F08 draft (N1830), C739 it is not permitted to
reference to any index-name in the forall-triplet-spec-list in which it appears
, and if I use the same forall-header in a FORALL statement the error is catched.
Is this allowed or not?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not allowed going strictly by the standard - don't know if Intel Fortran has an extension that allows this. Do you get error(s) if the standards checking is turned on? If not, then it seems like a compiler bug. Did you try compiler 14, update 2? Possibly fixed in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Still a bug - escalated as issue DPD200254821. Not a deliberate extension.

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