- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With 12.0.5
[fortran]! ifort /check:all /warn:all /standard-semantics xxx.f90
PROGRAM feeling_dissassociated
IMPLICIT NONE
TYPE String
CHARACTER(:), ALLOCATABLE :: Item
END TYPE String
TYPE(String), ALLOCATABLE :: array(:)
!****
array = [String('bananas')]
! Ok.
PRINT "('Yasi ate all my ',A,'.')", array(1)%item
ASSOCIATE(fruit => array(1)%Item)
! Not ok.
PRINT "('Yasi ate all my ',A,'.')", fruit
END ASSOCIATE
END PROGRAM feeling_dissassociated
[/fortran]
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. we'll take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as DPD200172824.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect the fix for this to appear in a release later this year.
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